commit | e116cb596c5e547c338c66217d133243dc289560 | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Thu Aug 13 17:24:52 2015 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Thu Aug 13 17:25:20 2015 +0530 |
tree | 2a3d0b3acc9c2e124c33f80f8202ebba83e4b47c | |
parent | 169c3ed09d1b19155e617f7ecc8420af3024c679 [diff] |
[hotfix] [report] payment period based on invoice date
diff --git a/erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py b/erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py index 604bc56..786a494 100644 --- a/erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py +++ b/erpnext/accounts/report/payment_period_based_on_invoice_date/payment_period_based_on_invoice_date.py
@@ -18,7 +18,7 @@ data = [] for d in entries: - against_date = invoice_posting_date_map[d.reference_name] or "" + against_date = invoice_posting_date_map.get(d.reference_name) or "" if d.reference_type=="Purchase Invoice": payment_amount = flt(d.debit) or -1 * flt(d.credit) else: