mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
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) {
|
routing(frm) {
|
||||||
if (frm.doc.routing) {
|
if (frm.doc.routing && frm.doc.with_operations && !frm.doc.operations) {
|
||||||
frappe.call({
|
frappe.call({
|
||||||
doc: frm.doc,
|
doc: frm.doc,
|
||||||
method: "get_routing",
|
method: "get_routing",
|
||||||
|
|||||||
Reference in New Issue
Block a user