From 10384b3b2eeee5d7a2f169893ab40af688813a23 Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Thu, 28 May 2026 14:59:37 +0530 Subject: [PATCH] fix: new bom version should not recalculate operations through routing (#55370) --- erpnext/manufacturing/doctype/bom/bom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/bom/bom.js b/erpnext/manufacturing/doctype/bom/bom.js index f0d9576d469..2bf7e34bd4e 100644 --- a/erpnext/manufacturing/doctype/bom/bom.js +++ b/erpnext/manufacturing/doctype/bom/bom.js @@ -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",