This commit is contained in:
@@ -7,7 +7,7 @@ $.extend(erpnext, {
|
||||
if(!company && cur_frm)
|
||||
company = cur_frm.doc.company;
|
||||
if(company)
|
||||
return frappe.model.get_doc(":Company", company).default_currency || frappe.boot.sysdefaults.currency;
|
||||
return frappe.get_doc(":Company", company).default_currency || frappe.boot.sysdefaults.currency;
|
||||
else
|
||||
return frappe.boot.sysdefaults.currency;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user