Merge pull request #42458 from Sanket322/currency_format_in_report
fix: use company default currency in report
This commit is contained in:
@@ -130,6 +130,7 @@ class PaymentLedger:
|
||||
)
|
||||
|
||||
def get_columns(self):
|
||||
company_currency = frappe.get_cached_value("Company", self.filters.get("company"), "default_currency")
|
||||
options = None
|
||||
self.columns.append(
|
||||
dict(
|
||||
@@ -194,7 +195,7 @@ class PaymentLedger:
|
||||
label=_("Amount"),
|
||||
fieldname="amount",
|
||||
fieldtype="Currency",
|
||||
options="Company:company:default_currency",
|
||||
options=company_currency,
|
||||
width="100",
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user