blob: 168dead9bf4ec02145631e8f360650a679f72d5c [file] [log] [blame]
Chillar Anand915b3432021-09-02 16:44:59 +05301
Anand Doshif5794f12014-03-03 15:05:28 +05302from frappe import _
3
Chillar Anand915b3432021-09-02 16:44:59 +05304
Anand Doshi08ef4672014-05-08 11:43:18 +05305def get_data():
6 return [
7 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +05308 "label": _("Projects"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +05309 "icon": "fa fa-star",
Anand Doshi08ef4672014-05-08 11:43:18 +053010 "items": [
11 {
12 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053013 "name": "Project",
14 "description": _("Project master."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053015 "onboard": 1,
renzodemie417dfed2018-03-20 14:28:15 +080016 },
17 {
18 "type": "doctype",
Anand Doshi08ef4672014-05-08 11:43:18 +053019 "name": "Task",
Rushabh Mehta542bc012020-11-18 15:00:34 +053020 "route": "/app/List/Task",
Anand Doshi08ef4672014-05-08 11:43:18 +053021 "description": _("Project activity / task."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053022 "onboard": 1,
KanchanChauhan7800bd82017-07-26 17:55:25 +053023 },
24 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053025 "type": "report",
Rushabh Mehta542bc012020-11-18 15:00:34 +053026 "route": "/app/List/Task/Gantt",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053027 "doctype": "Task",
28 "name": "Gantt Chart",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053029 "description": _("Gantt chart of all tasks."),
30 "onboard": 1,
31 },
32 {
33 "type": "doctype",
Rushabh Mehtae9984672019-02-18 18:35:51 +053034 "name": "Project Template",
35 "description": _("Make project from a template."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053036 },
37 {
38 "type": "doctype",
39 "name": "Project Type",
40 "description": _("Define Project type."),
Anand Doshi08ef4672014-05-08 11:43:18 +053041 },
Rushabh Mehtae9984672019-02-18 18:35:51 +053042 {
43 "type": "doctype",
44 "name": "Project Update",
45 "description": _("Project Update."),
46 "dependencies": ["Project"],
47 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053048 ]
49 },
50 {
51 "label": _("Time Tracking"),
52 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +053053 {
54 "type": "doctype",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053055 "name": "Timesheet",
56 "description": _("Timesheet for tasks."),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053057 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053058 },
59 {
60 "type": "doctype",
61 "name": "Activity Type",
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053062 "description": _("Types of activities for Time Logs"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053063 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053064 },
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053065 {
66 "type": "doctype",
67 "name": "Activity Cost",
68 "description": _("Cost of various activities"),
Prateeksha Singh063af4e2019-02-06 17:02:41 +053069 "dependencies": ["Activity Type"],
Neil Trini Lasrado458b8882015-03-24 12:49:45 +053070 },
Anand Doshi08ef4672014-05-08 11:43:18 +053071 ]
72 },
73 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053074 "label": _("Reports"),
Rushabh Mehta2167ff52016-12-07 11:08:48 +053075 "icon": "fa fa-list",
Anand Doshi08ef4672014-05-08 11:43:18 +053076 "items": [
77 {
78 "type": "report",
79 "is_query_report": True,
Rohit Waghchauree94d18b2016-07-06 20:12:58 +053080 "name": "Daily Timesheet Summary",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053081 "doctype": "Timesheet",
82 "onboard": 1,
83 "dependencies": ["Timesheet"],
Anand Doshi08ef4672014-05-08 11:43:18 +053084 },
85 {
86 "type": "report",
87 "is_query_report": True,
88 "name": "Project wise Stock Tracking",
Prateeksha Singh063af4e2019-02-06 17:02:41 +053089 "doctype": "Project",
90 "dependencies": ["Project"],
Anand Doshi08ef4672014-05-08 11:43:18 +053091 },
Faris Ansari1abd1e72019-07-15 14:34:10 +053092 {
93 "type": "report",
94 "is_query_report": True,
95 "name": "Project Billing Summary",
96 "doctype": "Project",
97 "dependencies": ["Project"],
98 },
Anand Doshi08ef4672014-05-08 11:43:18 +053099 ]
100 },
Rushabh Mehta542bc012020-11-18 15:00:34 +0530101
Anand Doshi08ef4672014-05-08 11:43:18 +0530102 ]