templating for hr

This commit is contained in:
Rushabh Mehta
2014-08-05 17:04:46 +05:30
committed by Anand Doshi
parent a660464cec
commit 7a4e739d6c
22 changed files with 250 additions and 12 deletions

View File

@@ -7,11 +7,11 @@ cur_frm.cscript.refresh = function(doc) {
cur_frm.add_custom_button(__("Gantt Chart"), function() {
frappe.route_options = {"project": doc.name}
frappe.set_route("Gantt", "Task");
}, "icon-tasks");
}, "icon-tasks", true);
cur_frm.add_custom_button(__("Tasks"), function() {
frappe.route_options = {"project": doc.name}
frappe.set_route("List", "Task");
}, "icon-list");
}, "icon-list", true);
}
}