mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
Fixed Company Default Currency in Accounts Browser
This commit is contained in:
@@ -34,7 +34,7 @@ class DocType:
|
||||
# pl[r[0]] = flt(flt(inc) - flt(exp))
|
||||
return {'cl':[r[0] for r in ret]}#, 'pl':pl}
|
||||
|
||||
def get_company_currency(self,arg=''):
|
||||
def get_company_currency(self,arg=''):
|
||||
ret = sql("select default_currency from tabCompany where name=%s and docstatus != 2", arg)
|
||||
return ret[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user