From ff6d0a526068b4f9565a1fda5865eb1573df3835 Mon Sep 17 00:00:00 2001 From: Giovanni Date: Sun, 10 Dec 2017 19:36:42 +0100 Subject: [PATCH] - clean code - console logs --- erpnext/public/js/controllers/transaction.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index ed81ff71a6..3492ad954d 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -273,7 +273,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({ // barcode cleared, remove item d.item_code = ""; } - console.log(d.barcode) this.item_code(doc, cdt, cdn, true); }, @@ -282,7 +281,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({ var item = frappe.get_doc(cdt, cdn); var update_stock = 0, show_batch_dialog = 0; - console.log(from_barcode) if(['Sales Invoice'].includes(this.frm.doc.doctype)) { update_stock = cint(me.frm.doc.update_stock); show_batch_dialog = update_stock; @@ -296,7 +294,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({ if(!from_barcode) { item.barcode = null; } - console.log(item) if(item.item_code || item.barcode || item.serial_no) { if(!this.validate_company_and_party()) { this.frm.fields_dict["items"].grid.grid_rows[item.idx - 1].remove();