diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index f6aa47d517f..a42c7d39928 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -3054,7 +3054,7 @@ class AccountMoveLine(models.Model): for line in self: if line.move_id.is_invoice(include_receipts=True): line._onchange_price_subtotal() - else: + elif not line.move_id.reversed_entry_id: line._recompute_debit_credit_from_amount_currency() def _recompute_debit_credit_from_amount_currency(self):