mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 05:59:18 +00:00
fix: Datatype fix for balance in account currency (#17314)
This commit is contained in:
@@ -216,7 +216,7 @@ def get_accountwise_gle(filters, gl_entries, gle_map):
|
|||||||
if gle.posting_date < from_date or cstr(gle.is_opening) == "Yes":
|
if gle.posting_date < from_date or cstr(gle.is_opening) == "Yes":
|
||||||
update_value_in_dict(gle_map[gle.account].totals, 'opening', gle)
|
update_value_in_dict(gle_map[gle.account].totals, 'opening', gle)
|
||||||
update_value_in_dict(totals, 'opening', gle)
|
update_value_in_dict(totals, 'opening', gle)
|
||||||
|
|
||||||
update_value_in_dict(gle_map[gle.account].totals, 'closing', gle)
|
update_value_in_dict(gle_map[gle.account].totals, 'closing', gle)
|
||||||
update_value_in_dict(totals, 'closing', gle)
|
update_value_in_dict(totals, 'closing', gle)
|
||||||
|
|
||||||
@@ -323,7 +323,7 @@ def get_columns(filters):
|
|||||||
{
|
{
|
||||||
"label": _("Balance") + " (" + filters.account_currency + ")",
|
"label": _("Balance") + " (" + filters.account_currency + ")",
|
||||||
"fieldname": "balance_in_account_currency",
|
"fieldname": "balance_in_account_currency",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Float",
|
||||||
"width": 100
|
"width": 100
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user