diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js index 03e5390d70..83e0950f6e 100644 --- a/erpnext/manufacturing/doctype/bom/bom.js +++ b/erpnext/manufacturing/doctype/bom/bom.js @@ -68,6 +68,10 @@ erpnext.bom.BomController = erpnext.TransactionController.extend({ scrap_items = true; } + if (child.bom_no) { + child.bom_no = ''; + } + get_bom_material_detail(doc, cdt, cdn, scrap_items); }, })