Merge pull request #16435 from deepeshgarg007/support-fix

fix(accounts_receivable): Bug fix in accounts receivable report
This commit is contained in:
Nabin Hait 2019-01-22 09:59:17 +05:30 committed by GitHub
commit b9b8d575bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ class ReceivablePayableReport(object):
dn_details = get_dn_details(args.get("party_type"), voucher_nos)
self.voucher_details = get_voucher_details(args.get("party_type"), voucher_nos, dn_details)
if self.filters.based_on_payment_terms:
if self.filters.based_on_payment_terms and gl_entries_data:
self.payment_term_map = self.get_payment_term_detail(voucher_nos)
for gle in gl_entries_data: