commit | 0bfd56e615f0e9f9053f572d945bbc15f3948dd6 | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Thu Jul 01 11:50:48 2021 +0530 |
committer | Rohit Waghchaure <rohitw1991@gmail.com> | Thu Jul 01 11:50:48 2021 +0530 |
tree | 6fabf4e641f4b2d7219173cd8316aa4ae99118f1 | |
parent | 2a1d1e1cb1f69b77ccf5a6bd8279df59e9329ab6 [diff] |
fix: update cost not working in the draft bom
diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js index 27019db..15a7c31 100644 --- a/erpnext/manufacturing/doctype/bom/bom.js +++ b/erpnext/manufacturing/doctype/bom/bom.js
@@ -325,8 +325,7 @@ freeze: true, args: { update_parent: true, - from_child_bom:false, - save: frm.doc.docstatus === 1 ? true : false + from_child_bom:false }, callback: function(r) { refresh_field("items");