- clean code - console logs
This commit is contained in:
parent
01953135c5
commit
ff6d0a5260
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user