details: https://code.tryton.org/tryton/commit/60e19af899bf
branch: 7.0
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 2d12e2c15e1a -r 60e19af899bf modules/account/move.py
--- a/modules/account/move.py Thu Mar 05 08:10:46 2026 +0100
+++ b/modules/account/move.py Mon Mar 16 12:28:56 2026 +0100
@@ -497,6 +497,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)))
))