mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-30 10:24:48 +00:00
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com> fix: new bom version should not recalculate operations through routing (#55370)
This commit is contained in:
@@ -583,7 +583,7 @@ frappe.ui.form.on("BOM", {
|
||||
},
|
||||
|
||||
routing(frm) {
|
||||
if (frm.doc.routing) {
|
||||
if (frm.doc.routing && frm.doc.with_operations && !frm.doc.operations) {
|
||||
frappe.call({
|
||||
doc: frm.doc,
|
||||
method: "get_routing",
|
||||
|
||||
Reference in New Issue
Block a user