diff --git a/erpnext/manufacturing/doctype/routing/routing.js b/erpnext/manufacturing/doctype/routing/routing.js index 741a3f01fd..c5af833d7f 100644 --- a/erpnext/manufacturing/doctype/routing/routing.js +++ b/erpnext/manufacturing/doctype/routing/routing.js @@ -2,7 +2,7 @@ // For license information, please see license.txt frappe.ui.form.on('Routing', { - setup: function(frm) { + onload: function(frm) { frappe.meta.get_docfield("BOM Operation", "sequence_id", frm.doc.name).in_list_view = true;