Merge pull request #50241 from frappe/mergify/bp/version-15-hotfix/pr-50221

fix: Pass uom field name to update existing item qty (backport #50221)
This commit is contained in:
Mihir Kandoi
2025-10-27 17:29:29 +05:30
committed by GitHub

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