fix: update receipt status and state during action_recompute_state execution
This commit is contained in:
parent
9c8a1dc96c
commit
48d5fb9662
@ -274,6 +274,8 @@ 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.expense_line_ids._update_receipt_received_status()
|
||||||
|
self._compute_receipt_status()
|
||||||
self._compute_state()
|
self._compute_state()
|
||||||
self._compute_from_account_move_ids()
|
self._compute_from_account_move_ids()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user