mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-21 03:04:34 +00:00
@@ -130,6 +130,7 @@ class PaymentLedger:
|
|||||||
)
|
)
|
||||||
|
|
||||||
def get_columns(self):
|
def get_columns(self):
|
||||||
|
company_currency = frappe.get_cached_value("Company", self.filters.get("company"), "default_currency")
|
||||||
options = None
|
options = None
|
||||||
self.columns.append(
|
self.columns.append(
|
||||||
dict(
|
dict(
|
||||||
@@ -194,7 +195,7 @@ class PaymentLedger:
|
|||||||
label=_("Amount"),
|
label=_("Amount"),
|
||||||
fieldname="amount",
|
fieldname="amount",
|
||||||
fieldtype="Currency",
|
fieldtype="Currency",
|
||||||
options="Company:company:default_currency",
|
options=company_currency,
|
||||||
width="100",
|
width="100",
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user