diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js index 6146f6b7b7b..1e7dc2b7f80 100644 --- a/erpnext/manufacturing/doctype/bom/bom.js +++ b/erpnext/manufacturing/doctype/bom/bom.js @@ -552,6 +552,10 @@ erpnext.bom.BomController = class BomController extends erpnext.TransactionContr child.bom_no = ""; } + if (doc.item == child.item_code) { + child.do_not_explode = 1; + } + get_bom_material_detail(doc, cdt, cdn, scrap_items); }