blob: 65485912e28c583b459fcc02882a527427a53285 [file] [log] [blame]
Anand Doshid57e7932015-02-24 12:24:53 +05301from __future__ import unicode_literals
Rushabh Mehta793ba6b2014-02-14 15:47:51 +05302from frappe import _
Rushabh Mehta22ababb2014-02-07 18:12:43 +05303
Nabin Haite6085392014-05-16 19:56:06 +05304def get_data():
Rushabh Mehta1bf440b2016-01-14 18:14:50 +05305 return [
6 {
Rushabh Mehta0e2dd852016-04-13 17:21:57 +05307 "module_name": "Item",
8 "_doctype": "Item",
9 "color": "#f39c12",
10 "icon": "octicon octicon-package",
11 "type": "link",
12 "link": "List/Item"
13 },
14 {
15 "module_name": "Customer",
16 "_doctype": "Customer",
17 "color": "#1abc9c",
18 "icon": "octicon octicon-tag",
19 "type": "link",
20 "link": "List/Customer"
21 },
22 {
23 "module_name": "Supplier",
24 "_doctype": "Supplier",
25 "color": "#c0392b",
26 "icon": "octicon octicon-briefcase",
27 "type": "link",
28 "link": "List/Supplier"
29 },
30 {
Rushabh Mehta0e2dd852016-04-13 17:21:57 +053031 "_doctype": "Employee",
32 "module_name": "Employee",
33 "color": "#2ecc71",
34 "icon": "octicon octicon-organization",
35 "type": "link",
36 "link": "List/Employee"
37 },
38 {
39 "module_name": "Project",
40 "_doctype": "Project",
41 "color": "#8e44ad",
42 "icon": "octicon octicon-rocket",
43 "type": "link",
44 "link": "List/Project"
45 },
46 {
47 "module_name": "Issue",
48 "color": "#2c3e50",
49 "icon": "octicon octicon-issue-opened",
50 "_doctype": "Issue",
51 "type": "link",
52 "link": "List/Issue"
53 },
54 {
55 "module_name": "Lead",
56 "icon": "octicon octicon-broadcast",
57 "type": "module",
58 "_doctype": "Lead",
59 "type": "link",
60 "link": "List/Lead"
61 },
Rushabh Mehta02772442016-04-20 18:45:46 +053062 {
Rushabh Mehta769dda02016-09-15 15:15:45 +053063 "module_name": "Profit and Loss Statement",
Rushabh Mehta02772442016-04-20 18:45:46 +053064 "_doctype": "Account",
65 "color": "#3498db",
66 "icon": "octicon octicon-repo",
67 "type": "link",
68 "link": "query-report/Profit and Loss Statement"
69 },
Rushabh Mehta0e2dd852016-04-13 17:21:57 +053070
71 # old
72 {
Rushabh Mehta1bf440b2016-01-14 18:14:50 +053073 "module_name": "Accounts",
Nabin Haite6085392014-05-16 19:56:06 +053074 "color": "#3498db",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +053075 "icon": "octicon octicon-repo",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +053076 "type": "module",
77 "hidden": 1
Nabin Haite6085392014-05-16 19:56:06 +053078 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +053079 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053080 "module_name": "Stock",
81 "color": "#f39c12",
Rushabh Mehta2167ff52016-12-07 11:08:48 +053082 "icon": "fa fa-truck",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053083 "icon": "octicon octicon-package",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +053084 "type": "module",
85 "hidden": 1
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053086 },
87 {
Rushabh Mehta1bf440b2016-01-14 18:14:50 +053088 "module_name": "CRM",
89 "color": "#EF4DB6",
90 "icon": "octicon octicon-broadcast",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +053091 "type": "module",
92 "hidden": 1
Rushabh Mehta1bf440b2016-01-14 18:14:50 +053093 },
94 {
95 "module_name": "Selling",
96 "color": "#1abc9c",
Rushabh Mehta2167ff52016-12-07 11:08:48 +053097 "icon": "fa fa-tag",
Rushabh Mehta1bf440b2016-01-14 18:14:50 +053098 "icon": "octicon octicon-tag",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +053099 "type": "module",
100 "hidden": 1
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530101 },
102 {
103 "module_name": "Buying",
Nabin Haite6085392014-05-16 19:56:06 +0530104 "color": "#c0392b",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530105 "icon": "fa fa-shopping-cart",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +0530106 "icon": "octicon octicon-briefcase",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530107 "type": "module",
108 "hidden": 1
Nabin Haite6085392014-05-16 19:56:06 +0530109 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530110 {
111 "module_name": "HR",
Nabin Haite6085392014-05-16 19:56:06 +0530112 "color": "#2ecc71",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530113 "icon": "fa fa-group",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +0530114 "icon": "octicon octicon-organization",
Nabin Haite6085392014-05-16 19:56:06 +0530115 "label": _("Human Resources"),
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530116 "type": "module",
117 "hidden": 1
Nabin Haite6085392014-05-16 19:56:06 +0530118 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530119 {
120 "module_name": "Manufacturing",
Nabin Haite6085392014-05-16 19:56:06 +0530121 "color": "#7f8c8d",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530122 "icon": "fa fa-cogs",
Rushabh Mehtaff582612015-01-02 14:40:48 +0530123 "icon": "octicon octicon-tools",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530124 "type": "module",
125 "hidden": 1
Nabin Haite6085392014-05-16 19:56:06 +0530126 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530127 {
128 "module_name": "POS",
Rushabh Mehta72e17192014-08-08 15:30:49 +0530129 "color": "#589494",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +0530130 "icon": "octicon octicon-credit-card",
Rushabh Mehta72e17192014-08-08 15:30:49 +0530131 "type": "page",
Rushabh Mehtaeb961372016-01-04 15:48:37 +0530132 "link": "pos",
Rohit Waghchauree0934d12016-05-11 15:04:57 +0530133 "label": _("POS")
Rushabh Mehta72e17192014-08-08 15:30:49 +0530134 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530135 {
136 "module_name": "Projects",
Nabin Haite6085392014-05-16 19:56:06 +0530137 "color": "#8e44ad",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530138 "icon": "fa fa-puzzle-piece",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +0530139 "icon": "octicon octicon-rocket",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530140 "type": "module",
141 "hidden": 1
Nabin Haite6085392014-05-16 19:56:06 +0530142 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530143 {
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530144 "module_name": "Support",
Nabin Haite6085392014-05-16 19:56:06 +0530145 "color": "#2c3e50",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530146 "icon": "fa fa-phone",
Rushabh Mehta7b822ab2014-12-31 14:42:23 +0530147 "icon": "octicon octicon-issue-opened",
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530148 "type": "module",
149 "hidden": 1
Rushabh Mehta67712402015-05-25 18:30:53 +0530150 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530151 {
152 "module_name": "Learn",
Rushabh Mehta7d23e422015-11-02 10:45:18 +0530153 "color": "#FF888B",
Rushabh Mehta7d23e422015-11-02 10:45:18 +0530154 "icon": "octicon octicon-device-camera-video",
Rushabh Mehta67712402015-05-25 18:30:53 +0530155 "type": "module",
Rushabh Mehtaeb961372016-01-04 15:48:37 +0530156 "is_help": True,
Rushabh Mehta0e2dd852016-04-13 17:21:57 +0530157 "label": _("Learn"),
158 "hidden": 1
Kanchan Chauhanfb3eb132016-06-29 15:04:08 +0530159 },
160 {
161 "module_name": "Maintenance",
162 "color": "#FF888B",
163 "icon": "octicon octicon-tools",
164 "type": "module",
165 "label": _("Maintenance")
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530166 },
167 {
168 "module_name": "Student",
169 "color": "#c0392b",
170 "icon": "octicon octicon-person",
171 "label": _("Student"),
172 "link": "List/Student",
Rushabh Mehta11900e82016-07-22 10:58:56 +0530173 "_doctype": "Student",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530174 "type": "list"
175 },
176 {
177 "module_name": "Student Group",
178 "color": "#d59919",
179 "icon": "octicon octicon-organization",
180 "label": _("Student Group"),
181 "link": "List/Student Group",
Rushabh Mehta11900e82016-07-22 10:58:56 +0530182 "_doctype": "Student Group",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530183 "type": "list"
184 },
185 {
186 "module_name": "Course Schedule",
187 "color": "#fd784f",
188 "icon": "octicon octicon-calendar",
189 "label": _("Course Schedule"),
190 "link": "Calendar/Course Schedule",
Rushabh Mehta11900e82016-07-22 10:58:56 +0530191 "_doctype": "Course Schedule",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530192 "type": "list"
193 },
194 {
195 "module_name": "Student Attendance",
196 "color": "#3aacba",
197 "icon": "octicon octicon-checklist",
198 "label": _("Student Attendance"),
199 "link": "List/Student Attendance",
Rushabh Mehta11900e82016-07-22 10:58:56 +0530200 "_doctype": "Student Attendance",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530201 "type": "list"
202 },
203 {
204 "module_name": "Course",
205 "color": "#8e44ad",
206 "icon": "octicon octicon-book",
207 "label": _("Course"),
208 "link": "List/Course",
Rushabh Mehta11900e82016-07-22 10:58:56 +0530209 "_doctype": "Course",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530210 "type": "list"
211 },
212 {
213 "module_name": "Program",
214 "color": "#9b59b6",
215 "icon": "octicon octicon-repo",
216 "label": _("Program"),
217 "link": "List/Program",
Rushabh Mehta11900e82016-07-22 10:58:56 +0530218 "_doctype": "Program",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530219 "type": "list"
220 },
221 {
222 "module_name": "Student Applicant",
223 "color": "#4d927f",
224 "icon": "octicon octicon-clippy",
225 "label": _("Student Applicant"),
226 "link": "List/Student Applicant",
Rushabh Mehta11900e82016-07-22 10:58:56 +0530227 "_doctype": "Student Applicant",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530228 "type": "list"
229 },
230 {
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530231 "module_name": "Fees",
232 "color": "#83C21E",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530233 "icon": "fa fa-money",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530234 "label": _("Fees"),
235 "link": "List/Fees",
Rushabh Mehta11900e82016-07-22 10:58:56 +0530236 "_doctype": "Fees",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530237 "type": "list"
238 },
239 {
240 "module_name": "Instructor",
241 "color": "#a99e4c",
242 "icon": "octicon octicon-broadcast",
243 "label": _("Instructor"),
244 "link": "List/Instructor",
Rushabh Mehta11900e82016-07-22 10:58:56 +0530245 "_doctype": "Instructor",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530246 "type": "list"
247 },
248 {
249 "module_name": "Room",
250 "color": "#f22683",
Rushabh Mehta2167ff52016-12-07 11:08:48 +0530251 "icon": "fa fa-map-marker",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530252 "label": _("Room"),
253 "link": "List/Room",
Neil Trini Lasrado50b22782016-08-01 23:45:33 +0530254 "_doctype": "Room",
Rushabh Mehta20038ad2016-07-21 16:01:59 +0530255 "type": "list"
256 },
257 {
258 "module_name": "Schools",
259 "color": "#DE2B37",
260 "icon": "octicon octicon-mortar-board",
261 "type": "module",
262 "label": _("Schools")
Rushabh Mehtaf0569742017-09-13 12:52:30 +0530263 },
264 {
265 "module_name": "Healthcare",
266 "color": "#FF888B",
267 "icon": "octicon octicon-plus",
268 "type": "module",
Faris Ansarifd345f82017-10-05 11:17:30 +0530269 "label": _("Healthcare"),
270 },
271 {
272 "module_name": "Hub",
273 "color": "#009248",
274 "icon": "/assets/erpnext/images/hub_logo.svg",
275 "type": "page",
276 "link": "hub",
277 "label": _("Hub")
Faris Ansari367b90e2017-09-29 15:17:48 +0530278 },
279 {
280 "module_name": "Data Import Tool",
281 "color": "#7f8c8d",
282 "icon": "octicon octicon-circuit-board",
283 "type": "page",
284 "link": "data-import-tool",
285 "label": _("Data Import Tool")
286 },
Rushabh Mehta1bf440b2016-01-14 18:14:50 +0530287 ]