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"
|
|
|
|
},
|
2013-02-26 11:06:41 +00:00
|
|
|
{
|
|
|
|
label: wn._("Time Log"),
|
|
|
|
description: wn._("Time Log for tasks."),
|
|
|
|
doctype:"Time Log"
|
|
|
|
},
|
2013-02-28 13:12:46 +00:00
|
|
|
{
|
|
|
|
label: wn._("Time Log Batch"),
|
|
|
|
description: wn._("Batch Time Logs for billing."),
|
|
|
|
doctype:"Time Log Batch"
|
|
|
|
},
|
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"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
2013-03-01 12:54:52 +00:00
|
|
|
{
|
|
|
|
title: wn._("Reports"),
|
|
|
|
right: true,
|
|
|
|
icon: "icon-list",
|
|
|
|
items: [
|
|
|
|
{
|
2013-04-03 10:14:19 +00:00
|
|
|
"label":wn._("Daily Time Log Summary"),
|
|
|
|
route: "query-report/Daily Time Log Summary",
|
2013-03-01 12:54:52 +00:00
|
|
|
doctype: "Time Log"
|
|
|
|
},
|
2013-06-04 10:21:16 +00:00
|
|
|
{
|
|
|
|
"label":wn._("Project wise Stock Tracking"),
|
|
|
|
route: "query-report/Project wise Stock Tracking",
|
|
|
|
doctype: "Project"
|
|
|
|
},
|
2013-03-01 12:54:52 +00:00
|
|
|
]
|
|
|
|
}]
|
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
|
|
|
}
|