From b2a1ae77ce058d6e1513d598593f9c532b4077f7 Mon Sep 17 00:00:00 2001 From: Ishan Loya Date: Fri, 27 Dec 2019 17:06:34 +0530 Subject: [PATCH] Remove default BOM filter in Work Order (#20117) Not all companies use default BOM (e.g. construction companies, etc.) --- erpnext/manufacturing/doctype/work_order/work_order.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/manufacturing/doctype/work_order/work_order.js b/erpnext/manufacturing/doctype/work_order/work_order.js index 176ca2e4f5..80bd89d591 100644 --- a/erpnext/manufacturing/doctype/work_order/work_order.js +++ b/erpnext/manufacturing/doctype/work_order/work_order.js @@ -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] ] }; });