fix: Set barcode in Item row after scanning barcode (#16591)
This commit is contained in:
parent
088886e082
commit
8ae5dbcac8
@ -314,8 +314,9 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
||||
show_description(child.idx, r.message.item_code, child.item_code);
|
||||
|
||||
frappe.model.set_value(child.doctype, child.name, {
|
||||
"item_code": r.message.item_code,
|
||||
"qty": (child.qty || 0) + 1
|
||||
item_code: r.message.item_code,
|
||||
qty: (child.qty || 0) + 1,
|
||||
barcode: r.message.barcode
|
||||
});
|
||||
}
|
||||
else{
|
||||
|
Loading…
x
Reference in New Issue
Block a user