mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
[item] toggle reqd, fixes #2832
This commit is contained in:
@@ -109,6 +109,9 @@ frappe.ui.form.on("Item", {
|
|||||||
method: "copy_specification_from_item_group"
|
method: "copy_specification_from_item_group"
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
is_stock_item: function(frm) {
|
||||||
|
erpnext.item.toggle_reqd(frm);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$.extend(erpnext.item, {
|
$.extend(erpnext.item, {
|
||||||
|
|||||||
Reference in New Issue
Block a user