fix: Pass uom field name to update existing item qty

(cherry picked from commit 23d69389ec)
This commit is contained in:
Kavin
2025-10-24 18:06:51 +05:30
committed by Mergify
parent 86f507bb6e
commit 93b2786865

View File

@@ -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) {