2013-01-09 11:09:27 +00:00
|
|
|
// ERPNext: Copyright 2013 Web Notes Technologies Pvt Ltd
|
|
|
|
// GNU General Public License. See "license.txt"
|
|
|
|
|
|
|
|
wn.module_page["Projects"] = [
|
|
|
|
{
|
|
|
|
title: wn._("Documents"),
|
|
|
|
icon: "icon-copy",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: wn._("Task"),
|
|
|
|
description: wn._("Project activity / task."),
|
|
|
|
doctype:"Task"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Project"),
|
|
|
|
description: wn._("Project master."),
|
|
|
|
doctype:"Project"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: wn._("Timesheet"),
|
|
|
|
description: wn._("Timesheet for tasks."),
|
|
|
|
doctype:"Timesheet"
|
|
|
|
},
|
2013-02-26 11:06:41 +00:00
|
|
|
{
|
|
|
|
label: wn._("Time Log"),
|
|
|
|
description: wn._("Time Log for tasks."),
|
|
|
|
doctype:"Time Log"
|
|
|
|
},
|
2013-01-09 11:09:27 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Tools"),
|
|
|
|
icon: "icon-wrench",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
page: "Projects",
|
|
|
|
label: wn._("Gantt Chart"),
|
|
|
|
"description":wn._("Gantt chart of all tasks.")
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Masters"),
|
|
|
|
icon: "icon-book",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: wn._("Activity Type"),
|
|
|
|
description: wn._("Types of activities for Time Sheets"),
|
|
|
|
doctype:"Activity Type"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
]
|
2012-02-23 07:05:32 +00:00
|
|
|
|
2012-02-21 13:33:50 +00:00
|
|
|
pscript['onload_projects-home'] = function(wrapper) {
|
2013-01-09 11:09:27 +00:00
|
|
|
wn.views.moduleview.make(wrapper, "Projects");
|
2012-02-21 13:33:50 +00:00
|
|
|
}
|