fix: new bom version should not recalculate operations through routing (backport #55370) (#55372)

Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com>
fix: new bom version should not recalculate operations through routing (#55370)
This commit is contained in:
mergify[bot]
2026-05-28 16:01:52 +05:30
committed by GitHub
parent 4ac003a804
commit 933ac0108c

View File

@@ -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",