blob: 1a70aee1608f43e49589998bda96fbc6cace56f5 [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 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053021 "type": "report",
Faris Ansaria0608d42016-10-10 14:32:35 +053022 "route": "List/Task/Gantt",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053023 "doctype": "Task",
24 "name": "Gantt Chart",
25 "description": _("Gantt chart of all tasks.")
Anand Doshi08ef4672014-05-08 11:43:18 +053026 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053027 ]
28 },
29 {
30 "label": _("Time Tracking"),
31 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +053032 {
33 "type": "doctype",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053034 "name": "Timesheet",
35 "description": _("Timesheet for tasks."),
Anand Doshi08ef4672014-05-08 11:43:18 +053036 },
37 {
38 "type": "doctype",
39 "name": "Activity Type",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053040 "description": _("Types of activities for Time Logs"),
Anand Doshi08ef4672014-05-08 11:43:18 +053041 },
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053042 {
43 "type": "doctype",
44 "name": "Activity Cost",
45 "description": _("Cost of various activities"),
46 },
Anand Doshi08ef4672014-05-08 11:43:18 +053047 ]
48 },
49 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053050 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053051 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +053052 "items": [
53 {
54 "type": "report",
55 "is_query_report": True,
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053056 "name": "Daily Timesheet Summary",
57 "doctype": "Timesheet"
Anand Doshi08ef4672014-05-08 11:43:18 +053058 },
59 {
60 "type": "report",
61 "is_query_report": True,
62 "name": "Project wise Stock Tracking",
63 "doctype": "Project"
64 },
65 ]
66 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +053067 {
68 "label": _("Help"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053069 "icon": "fa fa-facetime-video",
Sambhaji Kolatefd539912015-10-27 17:01:27 +053070 "items": [
71 {
72 "type": "help",
73 "label": _("Managing Projects"),
74 "youtube_id": "egxIGwtoKI4"
75 },
76 ]
77 },
Anand Doshi08ef4672014-05-08 11:43:18 +053078 ]