From a8d70091a34261328da33e8c24909d3ea24ab6ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Mon, 16 Mar 2026 12:28:56 +0100 Subject: [PATCH] Skip the reconciliation of already reconciled lines with debit == credit == 0 Closes #14679 (grafted from cfe486ca357ad690f6926880639dc1a617fc1ee8) --HG-- branch : 7.0 --- modules/account/move.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/account/move.py b/modules/account/move.py index e4ea38bc3f..ab5e064a35 100644 --- a/modules/account/move.py +++ b/modules/account/move.py @@ -497,6 +497,7 @@ class Move(DescriptionOriginMixin, ModelSQL, ModelView): where=reduce_ids(line.move, sub_moves_ids) & (line.debit == Decimal(0)) & (line.credit == Decimal(0)) + & (line.reconciliation == Null) & ((line.amount_second_currency == Null) | (line.amount_second_currency == Decimal(0))) ))