changeset ed3d73663a07 in modules/account_payment:default
details:
https://hg.tryton.org/modules/account_payment?cmd=changeset;node=ed3d73663a07
description:
Do not compare empty maturity date
issue9224
review317211002
diffstat:
account.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r b10c9b200a73 -r ed3d73663a07 account.py
--- a/account.py Sat Apr 11 00:22:19 2020 +0200
+++ b/account.py Fri Apr 24 22:04:35 2020 +0200
@@ -471,6 +471,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)