fix: Item Price changes are not persistent after updating cost on submitted BOM (#19356)
This commit is contained in:
parent
717ad388be
commit
4821f38d25
@ -117,7 +117,7 @@ frappe.ui.form.on("BOM", {
|
|||||||
args: {
|
args: {
|
||||||
update_parent: true,
|
update_parent: true,
|
||||||
from_child_bom:false,
|
from_child_bom:false,
|
||||||
save: false
|
save: frm.doc.docstatus === 1 ? true : false
|
||||||
},
|
},
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
refresh_field("items");
|
refresh_field("items");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user