diff --git a/erpnext/manufacturing/doctype/production_order/production_order.js b/erpnext/manufacturing/doctype/production_order/production_order.js index 1946a6793d..3781450d36 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.js +++ b/erpnext/manufacturing/doctype/production_order/production_order.js @@ -191,10 +191,7 @@ $.extend(cur_frm.cscript, { }, qty: function() { - return this.frm.call({ - doc: this.frm.doc, - method: "set_production_order_operations" - }); + frappe.ui.form.trigger("Production Order", 'bom_no') }, show_time_logs: function(doc, cdt, cdn) {