Merge pull request #26281 from rohitwaghchaure/fixed-update-cost-not-working-for-draft-bom-pre

fix: update cost not working in the draft BOM
This commit is contained in:
Nabin Hait
2021-07-01 12:30:55 +05:30
committed by GitHub

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");