[fix] removed client side validation for conversion rate
This commit is contained in:
parent
cb45b8f631
commit
4a0cae8b41
@ -418,10 +418,10 @@ erpnext.TransactionController = erpnext.stock.StockController.extend({
|
|||||||
(this.frm.doc.currency != company_currency && this.frm.doc.conversion_rate != 1.0)) :
|
(this.frm.doc.currency != company_currency && this.frm.doc.conversion_rate != 1.0)) :
|
||||||
false;
|
false;
|
||||||
|
|
||||||
if(!valid_conversion_rate) {
|
// if(!valid_conversion_rate) {
|
||||||
wn.throw(wn._("Please enter valid") + " " + wn._(conversion_rate_label) +
|
// wn.throw(wn._("Please enter valid") + " " + wn._(conversion_rate_label) +
|
||||||
" 1 " + this.frm.doc.currency + " = [?] " + company_currency);
|
// " 1 " + this.frm.doc.currency + " = [?] " + company_currency);
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
|
|
||||||
calculate_taxes_and_totals: function() {
|
calculate_taxes_and_totals: function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user