commit | f99f872946f178d76a823ac667927555fbdedf03 | [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 12:02:37 2021 +0530 |
tree | f802b97062039234a1a9f204a17fb63a298a3514 | |
parent | cf4e29a604c819f0673876592c2c9219a1830d0b [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");