Remove default BOM filter in Work Order (#20117)
Not all companies use default BOM (e.g. construction companies, etc.)
This commit is contained in:
parent
f4fbdf98d1
commit
b2a1ae77ce
@ -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]
|
||||
]
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user