Fixed Company Default Currency in Accounts Browser

This commit is contained in:
Ravi Dey
2011-06-28 14:55:50 +05:30
parent c5998ce2da
commit 2380eabb32
2 changed files with 2 additions and 2 deletions

View File

@@ -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]