Compare commits

...

1 Commits

Author SHA1 Message Date
Sagar Sharma
f064368dbd Revert "fix: reference error while using exchange rate revaluation" 2023-06-15 11:44:55 +05:30

View File

@@ -36,7 +36,7 @@ frappe.ui.form.on('Exchange Rate Revaluation', {
},
validate_rounding_loss: function(frm) {
let allowance = frm.doc.rounding_loss_allowance;
allowance = frm.doc.rounding_loss_allowance;
if (!(allowance > 0 && allowance < 1)) {
frappe.throw(__("Rounding Loss Allowance should be between 0 and 1"));
}