diff --git a/l10n_br_account/models/account_move.py b/l10n_br_account/models/account_move.py index d06666c83116..9c250439cff3 100644 --- a/l10n_br_account/models/account_move.py +++ b/l10n_br_account/models/account_move.py @@ -192,7 +192,7 @@ def _compute_amount(self): # fiscal documents for instance. It should be used # exceptionnaly as it breaks the dependency chain and # can leave fields such as payment_state inconsistent. - move._compute_fiscal_amount() + move.fiscal_document_id._compute_fiscal_amount() result = super()._compute_amount() for move in self.filtered(lambda m: m.fiscal_operation_id):