fix: update cost not working in the draft bom

This commit is contained in:
Rohit Waghchaure 2021-07-01 11:50:48 +05:30
parent cf4e29a604
commit f99f872946

View File

@ -325,8 +325,7 @@ frappe.ui.form.on("BOM", {
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");