refactor: update action_recompute_state to trigger _compute_from_account_move_ids instead of _compute_payment_state

This commit is contained in:
Suherdy Yacob 2026-04-06 11:04:32 +07:00
parent 6689999b17
commit fa8f270c5b

View File

@ -167,4 +167,4 @@ class HrExpenseSheet(models.Model):
def action_recompute_state(self): def action_recompute_state(self):
""" Public wrapper to allow triggering recompute from a button. """ """ Public wrapper to allow triggering recompute from a button. """
self._compute_state() self._compute_state()
self._compute_payment_state() self._compute_from_account_move_ids()