changeset 5c98585499b5 in modules/account_payment:5.4
details:
https://hg.tryton.org/modules/account_payment?cmd=changeset;node=5c98585499b5
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 be7b7986073c -r 5c98585499b5 account.py
--- a/account.py Sat Apr 04 16:30:12 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)