changeset f110cafc279e in modules/account_payment:5.0
details:
https://hg.tryton.org/modules/account_payment?cmd=changeset;node=f110cafc279e
description:
Do not compare empty maturity date
issue9224
review317211002
(grafted from ed3d73663a078a14d4cd2407cf6aa215d19eeded)
diffstat:
account.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r b37581ea6363 -r f110cafc279e account.py
--- a/account.py Sat Apr 04 17:47:03 2020 +0200
+++ b/account.py Fri Apr 24 22:04:35 2020 +0200
@@ -402,6 +402,7 @@
if line.reconciliation:
continue
if (name == 'amount_to_pay_today'
+ and line.maturity_date
and line.maturity_date > today):
continue
payment_amount = Decimal(0)