changeset 0d2dcff87cc5 in modules/account_statement:5.4
details:
https://hg.tryton.org/modules/account_statement?cmd=changeset;node=0d2dcff87cc5
description:
Reconcile current lines when invoice is encountered two times
issue9684
review322241002
(grafted from 1021ec9c9953bcfad976a07b3ff04f40b5514a58)
diffstat:
statement.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 50b9a061865e -r 0d2dcff87cc5 statement.py
--- a/statement.py Sat Apr 04 16:31:13 2020 +0200
+++ b/statement.py Fri Oct 09 21:43:30 2020 +0200
@@ -903,6 +903,8 @@
if line.invoice in invoice_payments:
Invoice.add_payment_lines(invoice_payments)
invoice_payments.clear()
+ MoveLine.reconcile(*to_reconcile)
+ to_reconcile.clear()
reconcile_lines = line.invoice.get_reconcile_lines_for_amount(
move_line.credit - move_line.debit)