js call changed to trigger

This commit is contained in:
Neil Trini Lasrado 2015-05-07 16:16:23 +05:30
parent a10bdd4980
commit 20e1c781b6

View File

@ -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) {