From 4a0cae8b415ec65214b01e7c5d6ea132f6846981 Mon Sep 17 00:00:00 2001 From: Akhilesh Darjee Date: Mon, 16 Sep 2013 12:25:00 +0530 Subject: [PATCH] [fix] removed client side validation for conversion rate --- public/js/transaction.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/js/transaction.js b/public/js/transaction.js index 3f0f9e5a0d7..387140472c7 100644 --- a/public/js/transaction.js +++ b/public/js/transaction.js @@ -418,10 +418,10 @@ erpnext.TransactionController = erpnext.stock.StockController.extend({ (this.frm.doc.currency != company_currency && this.frm.doc.conversion_rate != 1.0)) : false; - if(!valid_conversion_rate) { - wn.throw(wn._("Please enter valid") + " " + wn._(conversion_rate_label) + - " 1 " + this.frm.doc.currency + " = [?] " + company_currency); - } + // if(!valid_conversion_rate) { + // wn.throw(wn._("Please enter valid") + " " + wn._(conversion_rate_label) + + // " 1 " + this.frm.doc.currency + " = [?] " + company_currency); + // } }, calculate_taxes_and_totals: function() {