diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js index 4b52859cabd..b6c1f636b18 100644 --- a/erpnext/manufacturing/doctype/bom/bom.js +++ b/erpnext/manufacturing/doctype/bom/bom.js @@ -480,6 +480,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); }