fix!: remove barcode field triggers

use "scan barcode" field instead for scanning

[skip ci]
This commit is contained in:
Ankush Menat
2022-03-31 14:38:00 +05:30
committed by Ankush Menat
parent 530f767098
commit 9bf427985f
3 changed files with 1 additions and 41 deletions

View File

@@ -403,15 +403,6 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
var sms_man = new erpnext.SMSManager(this.frm.doc);
}
barcode(doc, cdt, cdn) {
var d = locals[cdt][cdn];
if(d.barcode=="" || d.barcode==null) {
// barcode cleared, remove item
d.item_code = "";
}
this.item_code(doc, cdt, cdn);
}
item_code(doc, cdt, cdn) {
var me = this;
var item = frappe.get_doc(cdt, cdn);