fix: Account filter in PSOA

This commit is contained in:
Deepesh Garg 2022-02-22 09:16:08 +05:30
parent e4c4dc402e
commit 70b960e650

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,