Merge pull request #31460 from ruthra-kumar/bug_ar/ap_rpt_delivery_note

fix: 'attribute error' on AR/AP report with delivery note filter
This commit is contained in:
Deepesh Garg 2022-06-29 08:06:34 +05:30 committed by GitHub
commit 3bbbf02ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,6 +128,7 @@ class ReceivablePayableReport(object):
credit_note_in_account_currency=0.0,
outstanding_in_account_currency=0.0,
)
self.get_invoices(ple)
if self.filters.get("group_by_party"):
self.init_subtotal_row(ple.party)