commit | 086b6a33eacde3aa3f2fa9358ed1d705ceb537eb | [log] [tgz] |
---|---|---|
author | Sagar Vora <sagarvora407@gmail.com> | Mon Jun 19 12:25:14 2017 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Mon Jun 19 12:25:14 2017 +0530 |
tree | 133fa9c9f5099b7ff31976c85601afa6b5d57e59 | |
parent | 67fe1010c796b392354210f0416371f8d9496312 [diff] |
Fixed BOM value not updating on changing item (#9350)
diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js index 03e5390..83e0950 100644 --- a/erpnext/manufacturing/doctype/bom/bom.js +++ b/erpnext/manufacturing/doctype/bom/bom.js
@@ -68,6 +68,10 @@ scrap_items = true; } + if (child.bom_no) { + child.bom_no = ''; + } + get_bom_material_detail(doc, cdt, cdn, scrap_items); }, })