mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-17 02:26:33 +00:00
templating for hr
This commit is contained in:
committed by
Anand Doshi
parent
a660464cec
commit
7a4e739d6c
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user