details: https://code.tryton.org/tryton/commit/254cb19533f0
branch: 7.8
user: Nicolas Évrard <[email protected]>
date: Mon Mar 16 12:28:56 2026 +0100
description:
Skip the reconciliation of already reconciled lines with debit ==
credit == 0
Closes #14679
(grafted from cfe486ca357ad690f6926880639dc1a617fc1ee8)
diffstat:
modules/account/move.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 636a91806311 -r 254cb19533f0 modules/account/move.py
--- a/modules/account/move.py Wed Mar 11 15:59:05 2026 +0100
+++ b/modules/account/move.py Mon Mar 16 12:28:56 2026 +0100
@@ -499,6 +499,7 @@
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)))
))