Fixed BOM value not updating on changing item (#9350)

This commit is contained in:
Sagar Vora 2017-06-19 12:25:14 +05:30 committed by Rushabh Mehta
parent 67fe1010c7
commit 086b6a33ea

View File

@ -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);
},
})