diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js index 8e4081d5d63..d5b9e8e719a 100644 --- a/erpnext/manufacturing/doctype/bom/bom.js +++ b/erpnext/manufacturing/doctype/bom/bom.js @@ -250,6 +250,7 @@ frappe.ui.form.on("BOM", { }); } + frm.phantom_bom_filters.filters.is_stock_item = !frm.doc.is_phantom_bom; if (frm.doc.is_phantom_bom) { frm.phantom_bom_filters.filters.is_fixed_asset = 0; } else {