accounts_browser: fix for number formatting
This commit is contained in:
parent
f6f8ddac30
commit
cb46a2df55
@ -52,6 +52,6 @@ def get_children():
|
||||
currency = webnotes.conn.sql("select default_currency from `tabCompany` where name = %s", company)[0][0]
|
||||
for each in acc:
|
||||
bal = get_balance_on(each.get("value"))
|
||||
each['balance'] = currency + ' ' + fmt_money(bal)
|
||||
each['balance'] = currency + ' ' + str(bal or 0)
|
||||
|
||||
return acc
|
||||
|
Loading…
x
Reference in New Issue
Block a user