blob: d4d4a72a5d1404b4f1cf3be6f095d91f578d1919 [file] [log] [blame]
Anand Doshid57e7932015-02-24 12:24:53 +05301from __future__ import unicode_literals
Chillar Anand915b3432021-09-02 16:44:59 +05302
Anand Doshif5794f12014-03-03 15:05:28 +05303from frappe import _
4
Chillar Anand915b3432021-09-02 16:44:59 +05305
Anand Doshi08ef4672014-05-08 11:43:18 +05306def get_data():
7 return [
8 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +05309 "label": _("Projects"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053010 "icon": "fa fa-star",
Anand Doshi08ef4672014-05-08 11:43:18 +053011 "items": [
12 {
13 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053014 "name": "Project",
15 "description": _("Project master."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053016 "onboard": 1,
renzodemie417dfed2018-03-20 14:28:15 +080017 },
18 {
19 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053020 "name": "Task",
Rushabh Mehta542bc012020-11-18 15:00:34 +053021 "route": "/app/List/Task",
Anand Doshi08ef4672014-05-08 11:43:18 +053022 "description": _("Project activity / task."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053023 "onboard": 1,
KanchanChauhan7800bd82017-07-26 17:55:25 +053024 },
25 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053026 "type": "report",
Rushabh Mehta542bc012020-11-18 15:00:34 +053027 "route": "/app/List/Task/Gantt",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053028 "doctype": "Task",
29 "name": "Gantt Chart",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053030 "description": _("Gantt chart of all tasks."),
31 "onboard": 1,
32 },
33 {
34 "type": "doctype",
Rushabh Mehtae9984672019-02-18 18:35:51 +053035 "name": "Project Template",
36 "description": _("Make project from a template."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053037 },
38 {
39 "type": "doctype",
40 "name": "Project Type",
41 "description": _("Define Project type."),
Anand Doshi08ef4672014-05-08 11:43:18 +053042 },
Rushabh Mehtae9984672019-02-18 18:35:51 +053043 {
44 "type": "doctype",
45 "name": "Project Update",
46 "description": _("Project Update."),
47 "dependencies": ["Project"],
48 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053049 ]
50 },
51 {
52 "label": _("Time Tracking"),
53 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +053054 {
55 "type": "doctype",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053056 "name": "Timesheet",
57 "description": _("Timesheet for tasks."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053058 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053059 },
60 {
61 "type": "doctype",
62 "name": "Activity Type",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053063 "description": _("Types of activities for Time Logs"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053064 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053065 },
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053066 {
67 "type": "doctype",
68 "name": "Activity Cost",
69 "description": _("Cost of various activities"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053070 "dependencies": ["Activity Type"],
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053071 },
Anand Doshi08ef4672014-05-08 11:43:18 +053072 ]
73 },
74 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053075 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053076 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +053077 "items": [
78 {
79 "type": "report",
80 "is_query_report": True,
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053081 "name": "Daily Timesheet Summary",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053082 "doctype": "Timesheet",
83 "onboard": 1,
84 "dependencies": ["Timesheet"],
Anand Doshi08ef4672014-05-08 11:43:18 +053085 },
86 {
87 "type": "report",
88 "is_query_report": True,
89 "name": "Project wise Stock Tracking",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053090 "doctype": "Project",
91 "dependencies": ["Project"],
Anand Doshi08ef4672014-05-08 11:43:18 +053092 },
Faris Ansari1abd1e72019-07-15 14:34:10 +053093 {
94 "type": "report",
95 "is_query_report": True,
96 "name": "Project Billing Summary",
97 "doctype": "Project",
98 "dependencies": ["Project"],
99 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530100 ]
101 },
Rushabh Mehta542bc012020-11-18 15:00:34 +0530102
Anand Doshi08ef4672014-05-08 11:43:18 +0530103 ]