blob: ac11c7e45c21a5a310f19ce5b5b13f2271dea01a [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",
Rushabh Mehta82fa04c2018-01-31 22:20:14 +053018 "route": "List/Task",
Anand Doshi08ef4672014-05-08 11:43:18 +053019 "description": _("Project activity / task."),
20 },
21 {
KanchanChauhan7800bd82017-07-26 17:55:25 +053022 "type": "doctype",
23 "name": "Project Type",
24 "description": _("Define Project type."),
25 },
26 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053027 "type": "report",
Faris Ansaria0608d42016-10-10 14:32:35 +053028 "route": "List/Task/Gantt",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053029 "doctype": "Task",
30 "name": "Gantt Chart",
31 "description": _("Gantt chart of all tasks.")
Anand Doshi08ef4672014-05-08 11:43:18 +053032 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053033 ]
34 },
35 {
36 "label": _("Time Tracking"),
37 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +053038 {
39 "type": "doctype",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053040 "name": "Timesheet",
41 "description": _("Timesheet for tasks."),
Anand Doshi08ef4672014-05-08 11:43:18 +053042 },
43 {
44 "type": "doctype",
45 "name": "Activity Type",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053046 "description": _("Types of activities for Time Logs"),
Anand Doshi08ef4672014-05-08 11:43:18 +053047 },
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053048 {
49 "type": "doctype",
50 "name": "Activity Cost",
51 "description": _("Cost of various activities"),
52 },
Anand Doshi08ef4672014-05-08 11:43:18 +053053 ]
54 },
55 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053056 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053057 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +053058 "items": [
59 {
60 "type": "report",
61 "is_query_report": True,
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053062 "name": "Daily Timesheet Summary",
63 "doctype": "Timesheet"
Anand Doshi08ef4672014-05-08 11:43:18 +053064 },
65 {
66 "type": "report",
67 "is_query_report": True,
68 "name": "Project wise Stock Tracking",
69 "doctype": "Project"
70 },
71 ]
72 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +053073 {
74 "label": _("Help"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053075 "icon": "fa fa-facetime-video",
Sambhaji Kolatefd539912015-10-27 17:01:27 +053076 "items": [
77 {
78 "type": "help",
79 "label": _("Managing Projects"),
80 "youtube_id": "egxIGwtoKI4"
81 },
82 ]
83 },
Anand Doshi08ef4672014-05-08 11:43:18 +053084 ]