Merge pull request #2943 from neilLasrado/time-log

bug fix - show time log in production order operations
This commit is contained in:
Nabin Hait 2015-03-12 17:53:16 +05:30
commit 15e4833785

View File

@ -192,8 +192,9 @@ $.extend(cur_frm.cscript, {
});
},
show_time_logs: function(doc, doctype, name) {
frappe.route_options = {"operation": name};
show_time_logs: function(doc, cdt, cdn) {
var child = locals[cdt][cdn]
frappe.route_options = {"operation_id": child.name};
frappe.set_route("List", "Time Log");
},