details:   https://code.tryton.org/tryton/commit/cfe486ca357a
branch:    default
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
diffstat:

 modules/account/move.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 0fc3d84d030c -r cfe486ca357a modules/account/move.py
--- a/modules/account/move.py   Wed Mar 11 16:03:00 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)))
                         ))

Reply via email to