2015-02-24 06:54:53 +00:00
|
|
|
from __future__ import unicode_literals
|
2014-03-03 09:35:28 +00:00
|
|
|
from frappe import _
|
|
|
|
|
2014-05-08 06:13:18 +00:00
|
|
|
def get_data():
|
|
|
|
return [
|
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"label": _("Projects"),
|
2014-05-08 06:13:18 +00:00
|
|
|
"icon": "icon-star",
|
|
|
|
"items": [
|
2016-03-08 12:36:21 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Project",
|
|
|
|
"description": _("Project master."),
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Task",
|
|
|
|
"description": _("Project activity / task."),
|
|
|
|
},
|
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"type": "report",
|
|
|
|
"route": "Gantt/Task",
|
|
|
|
"doctype": "Task",
|
|
|
|
"name": "Gantt Chart",
|
|
|
|
"description": _("Gantt chart of all tasks.")
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Time Tracking"),
|
|
|
|
"items": [
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2016-07-06 14:42:58 +00:00
|
|
|
"name": "Timesheet",
|
|
|
|
"description": _("Timesheet for tasks."),
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Activity Type",
|
2016-07-06 14:42:58 +00:00
|
|
|
"description": _("Types of activities for Time Logs"),
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2015-03-24 07:19:45 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Activity Cost",
|
|
|
|
"description": _("Cost of various activities"),
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"label": _("Reports"),
|
2014-05-08 06:13:18 +00:00
|
|
|
"icon": "icon-list",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2016-07-06 14:42:58 +00:00
|
|
|
"name": "Daily Timesheet Summary",
|
|
|
|
"doctype": "Timesheet"
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Project wise Stock Tracking",
|
|
|
|
"doctype": "Project"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
2015-10-27 11:31:27 +00:00
|
|
|
{
|
|
|
|
"label": _("Help"),
|
|
|
|
"icon": "icon-facetime-video",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "help",
|
|
|
|
"label": _("Managing Projects"),
|
|
|
|
"youtube_id": "egxIGwtoKI4"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|