mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-22 11:44:11 +00:00
fix: Pass uom field name to update existing item qty
(cherry picked from commit 23d69389ec)
This commit is contained in:
@@ -7,7 +7,10 @@ frappe.provide("erpnext.accounts.dimensions");
|
|||||||
frappe.ui.form.on("Stock Reconciliation", {
|
frappe.ui.form.on("Stock Reconciliation", {
|
||||||
setup(frm) {
|
setup(frm) {
|
||||||
frm.ignore_doctypes_on_cancel_all = ["Serial and Batch Bundle"];
|
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) {
|
onload: function (frm) {
|
||||||
|
|||||||
Reference in New Issue
Block a user