[item] toggle reqd, fixes #2832

This commit is contained in:
Rushabh Mehta 2015-03-02 19:22:28 +05:30
parent 593d56265f
commit 1758357a0a

View File

@ -109,6 +109,9 @@ frappe.ui.form.on("Item", {
method: "copy_specification_from_item_group"
});
},
is_stock_item: function(frm) {
erpnext.item.toggle_reqd(frm);
}
});
$.extend(erpnext.item, {