diff --git a/hotel/models/inherited_account_payment.py b/hotel/models/inherited_account_payment.py index fe59e4932..5bf5c1953 100644 --- a/hotel/models/inherited_account_payment.py +++ b/hotel/models/inherited_account_payment.py @@ -62,6 +62,7 @@ class AccountPayment(models.Model): 'state': 'draft'} self.update(vals) self.with_context({'ignore_notification_post': True}).post() + self._compute_folio_amount() if self.folio_id: msg = _("Payment %s modified: \n") % (self.communication) if self.save_amount and self.save_amount != self.amount: