fix: Datatype fix for balance in account currency (#17314)

This commit is contained in:
Deepesh Garg
2019-04-20 20:41:17 +05:30
committed by GitHub
parent 6e63de447a
commit 63f1eded95

View File

@@ -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":
update_value_in_dict(gle_map[gle.account].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(totals, 'closing', gle)
@@ -323,7 +323,7 @@ def get_columns(filters):
{
"label": _("Balance") + " (" + filters.account_currency + ")",
"fieldname": "balance_in_account_currency",
"fieldtype": "Data",
"fieldtype": "Float",
"width": 100
}
])