changeset 848d477b5416 in modules/account_payment_clearing:default details: https://hg.tryton.org/modules/account_payment_clearing?cmd=changeset;node=848d477b5416 description: Reconcile payments in one go
issue9931 review326841002 diffstat: payment.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diffs (13 lines): diff -r 231cf2c55bc2 -r 848d477b5416 payment.py --- a/payment.py Sat Dec 19 17:08:44 2020 +0100 +++ b/payment.py Tue Jan 05 12:19:04 2021 +0100 @@ -171,8 +171,7 @@ if l.account == payment.line.account] + [payment.line] if not sum(l.debit - l.credit for l in lines): to_reconcile.append(lines) - for lines in to_reconcile: - Line.reconcile(lines) + Line.reconcile(*to_reconcile) @property def clearing_account(self):