fix: show general ledger in doc currency in Process Statement Of Accounts

(cherry picked from commit 998f6a29a4)
This commit is contained in:
ljain112
2025-05-21 13:18:09 +05:30
committed by Mergify
parent 0cbb7223be
commit b3cbbf2ce3

View File

@@ -129,8 +129,8 @@ def get_statement_dict(doc, get_statement_dict=False):
tax_id = frappe.get_doc("Customer", entry.customer).tax_id
presentation_currency = (
get_party_account_currency("Customer", entry.customer, doc.company)
or doc.currency
doc.currency
or get_party_account_currency("Customer", entry.customer, doc.company)
or get_company_currency(doc.company)
)