[hotfix] User not able to edit exchange rate even if Allow Stale Exchange Rates is disabled in the accounts settings (#11409)

This commit is contained in:
rohitwaghchaure
2017-11-02 18:12:14 +05:30
committed by Nabin Hait
parent 75f3f81a9b
commit 7677ff00a2
2 changed files with 4 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ $.extend(erpnext, {
},
stale_rate_allowed: () => {
return cint(frappe.boot.sysdefaults.allow_stale) || 1;
return cint(frappe.boot.sysdefaults.allow_stale);
},
setup_serial_no: function() {