Merge pull request #29928 from deepeshgarg007/psoa_account_filter

fix: Account filter in PSOA
This commit is contained in:
Deepesh Garg 2022-02-28 11:41:50 +05:30 committed by GitHub
commit 83ad8f9caa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,