fix: Account filter in PSOA

(cherry picked from commit 70b960e650)
This commit is contained in:
Deepesh Garg
2022-02-22 09:16:08 +05:30
committed by mergify-bot
parent f21951fa33
commit e509ce5438

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,