Remove default BOM filter in Work Order (#20117)

Not all companies use default BOM (e.g. construction companies, etc.)
This commit is contained in:
Ishan Loya 2019-12-27 17:06:34 +05:30 committed by Nabin Hait
parent f4fbdf98d1
commit b2a1ae77ce

View File

@ -77,8 +77,7 @@ frappe.ui.form.on("Work Order", {
return {
query: "erpnext.controllers.queries.item_query",
filters:[
['is_stock_item', '=',1],
['default_bom', '!=', '']
['is_stock_item', '=',1]
]
};
});