mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
[fix] removed client side validation for conversion rate
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user