blob: a8514b26ff993c8e6c54436b7084f34930cf01ee [file] [log] [blame]
Anand Doshid57e7932015-02-24 12:24:53 +05301from __future__ import unicode_literals
Anand Doshif5794f12014-03-03 15:05:28 +05302from frappe import _
3
Anand Doshi08ef4672014-05-08 11:43:18 +05304def get_data():
5 return [
6 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +05307 "label": _("Projects"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +05308 "icon": "fa fa-star",
Anand Doshi08ef4672014-05-08 11:43:18 +05309 "items": [
10 {
11 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053012 "name": "Project",
13 "description": _("Project master."),
14 },
15 {
16 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053017 "name": "Task",
18 "description": _("Project activity / task."),
19 },
20 {
KanchanChauhan7800bd82017-07-26 17:55:25 +053021 "type": "doctype",
22 "name": "Project Type",
23 "description": _("Define Project type."),
24 },
25 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053026 "type": "report",
Faris Ansaria0608d42016-10-10 14:32:35 +053027 "route": "List/Task/Gantt",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053028 "doctype": "Task",
29 "name": "Gantt Chart",
30 "description": _("Gantt chart of all tasks.")
Anand Doshi08ef4672014-05-08 11:43:18 +053031 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053032 ]
33 },
34 {
35 "label": _("Time Tracking"),
36 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +053037 {
38 "type": "doctype",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053039 "name": "Timesheet",
40 "description": _("Timesheet for tasks."),
Anand Doshi08ef4672014-05-08 11:43:18 +053041 },
42 {
43 "type": "doctype",
44 "name": "Activity Type",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053045 "description": _("Types of activities for Time Logs"),
Anand Doshi08ef4672014-05-08 11:43:18 +053046 },
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053047 {
48 "type": "doctype",
49 "name": "Activity Cost",
50 "description": _("Cost of various activities"),
51 },
Anand Doshi08ef4672014-05-08 11:43:18 +053052 ]
53 },
54 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053055 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053056 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +053057 "items": [
58 {
59 "type": "report",
60 "is_query_report": True,
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053061 "name": "Daily Timesheet Summary",
62 "doctype": "Timesheet"
Anand Doshi08ef4672014-05-08 11:43:18 +053063 },
64 {
65 "type": "report",
66 "is_query_report": True,
67 "name": "Project wise Stock Tracking",
68 "doctype": "Project"
69 },
70 ]
71 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +053072 {
73 "label": _("Help"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053074 "icon": "fa fa-facetime-video",
Sambhaji Kolatefd539912015-10-27 17:01:27 +053075 "items": [
76 {
77 "type": "help",
78 "label": _("Managing Projects"),
79 "youtube_id": "egxIGwtoKI4"
80 },
81 ]
82 },
Anand Doshi08ef4672014-05-08 11:43:18 +053083 ]