From 20e1c781b69f0c8682043fa3ca69fe62a6ca772d Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Thu, 7 May 2015 16:16:23 +0530 Subject: [PATCH] js call changed to trigger --- .../doctype/production_order/production_order.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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) {