changeset 31c88400c93a in modules/account_payment:5.2
details:
https://hg.tryton.org/modules/account_payment?cmd=changeset;node=31c88400c93a
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 058fc4607aee -r 31c88400c93a account.py
--- a/account.py Sat Apr 04 17:00:23 2020 +0200
+++ b/account.py Fri Apr 24 22:04:35 2020 +0200
@@ -477,6 +477,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)