mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 16:45:02 +00:00
Merge pull request #50221 from aerele/fix/stock-recon-barcode-scanner
fix: Pass uom field name to update existing item qty
This commit is contained in:
@@ -7,7 +7,10 @@ frappe.provide("erpnext.accounts.dimensions");
|
||||
frappe.ui.form.on("Stock Reconciliation", {
|
||||
setup(frm) {
|
||||
frm.ignore_doctypes_on_cancel_all = ["Serial and Batch Bundle"];
|
||||
frm.barcode_scanner = new erpnext.utils.BarcodeScanner({ frm });
|
||||
frm.barcode_scanner = new erpnext.utils.BarcodeScanner({
|
||||
frm: frm,
|
||||
uom_field: "stock_uom",
|
||||
});
|
||||
},
|
||||
|
||||
onload: function (frm) {
|
||||
|
||||
Reference in New Issue
Block a user