From 19d52dc5038c898edee6390af383074698f0e045 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 7 Jul 2017 13:23:23 +0530 Subject: [PATCH] [fix] remove extra flag --- erpnext/public/js/controllers/transaction.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 3defa193fbf..fd91227cb67 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -63,10 +63,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({ }); frappe.ui.form.on(this.frm.doctype, "additional_discount_percentage", function(frm) { - if (frm.via_discount_amount) { - return; - } - if(!frm.doc.apply_discount_on) { frappe.msgprint(__("Please set 'Apply Additional Discount On'")); return;