details: https://code.tryton.org/tryton/commit/21583762b77c
branch: 7.6
user: Cédric Krier <[email protected]>
date: Tue Mar 24 16:57:31 2026 +0100
description:
Permit only valid lines to be selected for reconciliation
Closes #14703
(grafted from fa337e74fc4710e7aa11ba0b928619db21b228ae)
diffstat:
modules/account/move.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 68fdeae29db3 -r 21583762b77c modules/account/move.py
--- a/modules/account/move.py Fri Mar 20 19:19:15 2026 +0100
+++ b/modules/account/move.py Tue Mar 24 16:57:31 2026 +0100
@@ -2514,6 +2514,7 @@
],
('second_currency', '=', Eval('currency', -1)),
],
+ ('state', '=', 'valid'),
])
_write_off_states = {