Merge pull request #30009 from frappe/mergify/bp/version-13-hotfix/pr-29928

fix: Account filter in PSOA (backport #29928)
This commit is contained in:
Deepesh Garg
2022-02-28 12:57:04 +05:30
committed by GitHub

View File

@@ -73,7 +73,7 @@ def get_report_pdf(doc, consolidated=True):
'to_date': doc.to_date,
'company': doc.company,
'finance_book': doc.finance_book if doc.finance_book else None,
'account': doc.account if doc.account else None,
'account': [doc.account] if doc.account else None,
'party_type': 'Customer',
'party': [entry.customer],
'presentation_currency': presentation_currency,