[minor] [fix] price list currency read only and SO-MR mapping

This commit is contained in:
Nabin Hait
2013-07-23 15:31:39 +05:30
parent 648a5c7e33
commit 48a0bd3eda
13 changed files with 29 additions and 48 deletions

View File

@@ -20,7 +20,7 @@ $.extend(erpnext, {
if(!company && cur_frm)
company = cur_frm.doc.company;
if(company)
return wn.model.get(":Company", company).default_currency || wn.boot.sysdefaults.currency;
return wn.model.get_doc(":Company", company).default_currency || wn.boot.sysdefaults.currency;
else
return wn.boot.sysdefaults.currency;
},