commit | 4821f38d25012dd31cb3eae75ba39cc39a5856b6 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> | Mon Oct 21 13:27:40 2019 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Mon Oct 21 13:27:40 2019 +0530 |
tree | 78ceed4ca78d700c25e04f5b816b0f3ff3753e40 | |
parent | 717ad388be21a8b71dabb573ba40c54538c0ed23 [diff] |
fix: Item Price changes are not persistent after updating cost on submitted BOM (#19356)
diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js index 9248ac0..b9591d6 100644 --- a/erpnext/manufacturing/doctype/bom/bom.js +++ b/erpnext/manufacturing/doctype/bom/bom.js
@@ -117,7 +117,7 @@ args: { update_parent: true, from_child_bom:false, - save: false + save: frm.doc.docstatus === 1 ? true : false }, callback: function(r) { refresh_field("items");