blob: 2f8b92d3d82c6978760cf449d4cc07178d644464 [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",
renzodemie417dfed2018-03-20 14:28:15 +080017 "name": "Project Update",
18 "description": _("Project Update."),
19 },
20 {
21 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053022 "name": "Task",
Rushabh Mehta82fa04c2018-01-31 22:20:14 +053023 "route": "List/Task",
Anand Doshi08ef4672014-05-08 11:43:18 +053024 "description": _("Project activity / task."),
25 },
26 {
KanchanChauhan7800bd82017-07-26 17:55:25 +053027 "type": "doctype",
28 "name": "Project Type",
29 "description": _("Define Project type."),
30 },
31 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053032 "type": "report",
Faris Ansaria0608d42016-10-10 14:32:35 +053033 "route": "List/Task/Gantt",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053034 "doctype": "Task",
35 "name": "Gantt Chart",
36 "description": _("Gantt chart of all tasks.")
Anand Doshi08ef4672014-05-08 11:43:18 +053037 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053038 ]
39 },
40 {
41 "label": _("Time Tracking"),
42 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +053043 {
44 "type": "doctype",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053045 "name": "Timesheet",
46 "description": _("Timesheet for tasks."),
Anand Doshi08ef4672014-05-08 11:43:18 +053047 },
48 {
49 "type": "doctype",
50 "name": "Activity Type",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053051 "description": _("Types of activities for Time Logs"),
Anand Doshi08ef4672014-05-08 11:43:18 +053052 },
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053053 {
54 "type": "doctype",
55 "name": "Activity Cost",
56 "description": _("Cost of various activities"),
57 },
Anand Doshi08ef4672014-05-08 11:43:18 +053058 ]
59 },
60 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053061 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053062 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +053063 "items": [
64 {
65 "type": "report",
66 "is_query_report": True,
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053067 "name": "Daily Timesheet Summary",
68 "doctype": "Timesheet"
Anand Doshi08ef4672014-05-08 11:43:18 +053069 },
70 {
71 "type": "report",
72 "is_query_report": True,
73 "name": "Project wise Stock Tracking",
74 "doctype": "Project"
75 },
76 ]
77 },
Sambhaji Kolatefd539912015-10-27 17:01:27 +053078 {
79 "label": _("Help"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053080 "icon": "fa fa-facetime-video",
Sambhaji Kolatefd539912015-10-27 17:01:27 +053081 "items": [
82 {
83 "type": "help",
84 "label": _("Managing Projects"),
85 "youtube_id": "egxIGwtoKI4"
86 },
87 ]
88 },
Anand Doshi08ef4672014-05-08 11:43:18 +053089 ]