blob: ffd5ed4df700ac6d0bd26945c6ae8404eb76232b [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."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053014 "onboard": 1,
renzodemie417dfed2018-03-20 14:28:15 +080015 },
16 {
17 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053018 "name": "Task",
Rushabh Mehta82fa04c2018-01-31 22:20:14 +053019 "route": "List/Task",
Anand Doshi08ef4672014-05-08 11:43:18 +053020 "description": _("Project activity / task."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053021 "onboard": 1,
KanchanChauhan7800bd82017-07-26 17:55:25 +053022 },
23 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053024 "type": "report",
Faris Ansaria0608d42016-10-10 14:32:35 +053025 "route": "List/Task/Gantt",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053026 "doctype": "Task",
27 "name": "Gantt Chart",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053028 "description": _("Gantt chart of all tasks."),
29 "onboard": 1,
30 },
31 {
32 "type": "doctype",
33 "name": "Project Update",
34 "description": _("Project Update."),
35 "dependencies": ["Project"],
36 },
37 {
38 "type": "doctype",
39 "name": "Project Type",
40 "description": _("Define Project type."),
Anand Doshi08ef4672014-05-08 11:43:18 +053041 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053042 ]
43 },
44 {
45 "label": _("Time Tracking"),
46 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +053047 {
48 "type": "doctype",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053049 "name": "Timesheet",
50 "description": _("Timesheet for tasks."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053051 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053052 },
53 {
54 "type": "doctype",
55 "name": "Activity Type",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053056 "description": _("Types of activities for Time Logs"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053057 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053058 },
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053059 {
60 "type": "doctype",
61 "name": "Activity Cost",
62 "description": _("Cost of various activities"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053063 "dependencies": ["Activity Type"],
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053064 },
Anand Doshi08ef4672014-05-08 11:43:18 +053065 ]
66 },
67 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053068 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053069 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +053070 "items": [
71 {
72 "type": "report",
73 "is_query_report": True,
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053074 "name": "Daily Timesheet Summary",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053075 "doctype": "Timesheet",
76 "onboard": 1,
77 "dependencies": ["Timesheet"],
Anand Doshi08ef4672014-05-08 11:43:18 +053078 },
79 {
80 "type": "report",
81 "is_query_report": True,
82 "name": "Project wise Stock Tracking",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053083 "doctype": "Project",
84 "dependencies": ["Project"],
Anand Doshi08ef4672014-05-08 11:43:18 +053085 },
86 ]
87 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +053088 {
89 "label": _("Help"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053090 "icon": "fa fa-facetime-video",
Sambhaji Kolatefd539912015-10-27 17:01:27 +053091 "items": [
92 {
93 "type": "help",
94 "label": _("Managing Projects"),
95 "youtube_id": "egxIGwtoKI4"
96 },
97 ]
98 },
Anand Doshi08ef4672014-05-08 11:43:18 +053099 ]