diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index 9933a91270e..5df5f1c93c7 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -220,7 +220,7 @@ class AccountMove(models.Model): # Do not forward port in >= saas-14 def _reconcile_reversed_pair(self, move, reversed_move): - amls_to_reconcile = move.line_ids + reversed_move.line_ids + amls_to_reconcile = (move.line_ids + reversed_move.line_ids).filtered(lambda l: not l.reconciled) accounts_reconcilable = amls_to_reconcile.mapped('account_id').filtered(lambda a: a.reconcile) for account in accounts_reconcilable: amls_for_account = amls_to_reconcile.filtered(lambda l: l.account_id.id == account.id)