blob: 47700d10b2aaca877243767a3a5841531231a8ec [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",
Himanshu Warekar1cb695b2019-02-28 11:42:36 +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",
Himanshu Warekar3315a9f2019-02-28 11:51:36 +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",
Rushabh Mehtae9984672019-02-18 18:35:51 +053033 "name": "Project Template",
34 "description": _("Make project from a template."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053035 },
36 {
37 "type": "doctype",
38 "name": "Project Type",
39 "description": _("Define Project type."),
Anand Doshi08ef4672014-05-08 11:43:18 +053040 },
Rushabh Mehtae9984672019-02-18 18:35:51 +053041 {
42 "type": "doctype",
43 "name": "Project Update",
44 "description": _("Project Update."),
45 "dependencies": ["Project"],
46 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053047 ]
48 },
49 {
50 "label": _("Time Tracking"),
51 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +053052 {
53 "type": "doctype",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053054 "name": "Timesheet",
55 "description": _("Timesheet for tasks."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053056 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053057 },
58 {
59 "type": "doctype",
60 "name": "Activity Type",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053061 "description": _("Types of activities for Time Logs"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053062 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053063 },
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053064 {
65 "type": "doctype",
66 "name": "Activity Cost",
67 "description": _("Cost of various activities"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053068 "dependencies": ["Activity Type"],
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053069 },
Anand Doshi08ef4672014-05-08 11:43:18 +053070 ]
71 },
72 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053073 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053074 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +053075 "items": [
76 {
77 "type": "report",
78 "is_query_report": True,
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053079 "name": "Daily Timesheet Summary",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053080 "doctype": "Timesheet",
81 "onboard": 1,
82 "dependencies": ["Timesheet"],
Anand Doshi08ef4672014-05-08 11:43:18 +053083 },
84 {
85 "type": "report",
86 "is_query_report": True,
87 "name": "Project wise Stock Tracking",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053088 "doctype": "Project",
89 "dependencies": ["Project"],
Anand Doshi08ef4672014-05-08 11:43:18 +053090 },
Faris Ansari1abd1e72019-07-15 14:34:10 +053091 {
92 "type": "report",
93 "is_query_report": True,
94 "name": "Project Billing Summary",
95 "doctype": "Project",
96 "dependencies": ["Project"],
97 },
Anand Doshi08ef4672014-05-08 11:43:18 +053098 ]
99 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530100
Anand Doshi08ef4672014-05-08 11:43:18 +0530101 ]