blob: 21e6a505a8646324a127fdca86a837194b571def [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": _("Employee and Attendance"),
Anand Doshi08ef4672014-05-08 11:43:18 +05308 "items": [
9 {
10 "type": "doctype",
11 "name": "Employee",
Prateeksha Singh34234072019-02-07 09:18:24 +053012 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +053013 },
14 {
15 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053016 "name": "Employee Attendance Tool",
17 "hide_count": True,
18 "onboard": 1,
19 "dependencies": ["Employee"]
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053020 },
21 {
22 "type": "doctype",
Himanshu Warekar00a494f2019-05-03 12:44:35 +053023 "name": "Employee Group",
24 "dependencies": ["Employee"]
25 },
26 {
27 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053028 "name": "Attendance",
29 "onboard": 1,
30 "dependencies": ["Employee"]
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053031 },
32 {
33 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053034 "name": "Attendance Request",
35 "dependencies": ["Employee"]
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053036 },
37 {
38 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053039 "name": "Upload Attendance",
40 "hide_count": True,
41 "dependencies": ["Employee"]
42 },
karthikeyan5ceea3282019-05-12 19:41:34 +053043 {
44 "type": "doctype",
karthikeyan532197352019-06-10 13:04:44 +053045 "name": "Employee Checkin",
karthikeyan5ceea3282019-05-12 19:41:34 +053046 "hide_count": True,
47 "onboard": 1,
48 "dependencies": ["Employee"]
49 },
Prateeksha Singh34234072019-02-07 09:18:24 +053050 ]
51 },
52 {
53 "label": _("Payroll"),
54 "items": [
55 {
56 "type": "doctype",
57 "name": "Salary Structure",
58 "onboard": 1,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053059 },
60 {
61 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053062 "name": "Salary Structure Assignment",
63 "onboard": 1,
64 "dependencies": ["Salary Structure", "Employee"],
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053065 },
66 {
67 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053068 "name": "Salary Slip",
69 "onboard": 1,
70 },
71 {
72 "type": "doctype",
73 "name": "Payroll Entry",
74 "onboard": 1,
75 },
76 {
77 "type": "doctype",
78 "name": "Employee Benefit Application",
79 "dependencies": ["Employee"]
80 },
81 {
82 "type": "doctype",
83 "name": "Employee Benefit Claim",
84 "dependencies": ["Employee"]
85 },
86 {
87 "type": "doctype",
88 "name": "Additional Salary",
89 },
90 {
91 "type": "doctype",
92 "name": "Employee Tax Exemption Declaration",
93 "dependencies": ["Employee"]
94 },
95 {
96 "type": "doctype",
97 "name": "Employee Tax Exemption Proof Submission",
98 "dependencies": ["Employee"]
99 },
100 {
101 "type": "doctype",
102 "name": "Employee Incentive",
103 "dependencies": ["Employee"]
104 },
105 {
106 "type": "doctype",
107 "name": "Retention Bonus",
108 "dependencies": ["Employee"]
109 },
110 {
111 "type": "doctype",
112 "name": "Payroll Period",
113 },
114 {
115 "type": "doctype",
116 "name": "Salary Component",
117 },
118 ]
119 },
120 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +0530121 "label": _("Settings"),
Prateeksha Singh34234072019-02-07 09:18:24 +0530122 "icon": "fa fa-cog",
123 "items": [
124 {
125 "type": "doctype",
126 "name": "HR Settings",
127 },
128 {
129 "type": "doctype",
130 "name": "Employment Type",
131 },
132 {
133 "type": "doctype",
134 "name": "Branch",
135 },
136 {
137 "type": "doctype",
138 "name": "Department",
139 },
140 {
141 "type": "doctype",
142 "name": "Designation",
143 },
144 {
145 "type": "doctype",
146 "name": "Employee Grade",
147 },
148 {
149 "type": "doctype",
150 "name": "Daily Work Summary Group"
151 },
152 {
153 "type": "doctype",
154 "name": "Employee Health Insurance"
155 },
156 {
157 "type": "doctype",
158 "name": "Staffing Plan",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530159 }
160 ]
161 },
162
163 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530164 "label": _("Leaves"),
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530165 "items": [
166 {
167 "type": "doctype",
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530168 "name": "Leave Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530169 "dependencies": ["Employee"]
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530170 },
171 {
172 "type": "doctype",
173 "name": "Leave Allocation",
Prateeksha Singh34234072019-02-07 09:18:24 +0530174 "dependencies": ["Employee"]
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530175 },
176 {
177 "type": "doctype",
178 "name": "Compensatory Leave Request",
Prateeksha Singh34234072019-02-07 09:18:24 +0530179 "dependencies": ["Employee"]
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530180 },
181 {
182 "type": "doctype",
Nabin Haitf914bd32018-04-14 12:38:55 +0530183 "name": "Leave Encashment",
Prateeksha Singh34234072019-02-07 09:18:24 +0530184 "dependencies": ["Employee"]
Nabin Haitf914bd32018-04-14 12:38:55 +0530185 },
186 {
187 "type": "doctype",
Rushabh Mehta20fd2dd2018-08-30 09:21:54 +0530188 "name": "Leave Period",
Prateeksha Singh34234072019-02-07 09:18:24 +0530189 "dependencies": ["Employee"]
Rushabh Mehta20fd2dd2018-08-30 09:21:54 +0530190 },
191 {
192 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530193 "name":"Leave Type",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530194 },
195 {
196 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530197 "name": "Leave Policy",
198 "dependencies": ["Leave Type"]
199 },
200 {
201 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530202 "name": "Holiday List",
Anand Doshi08ef4672014-05-08 11:43:18 +0530203 },
204 {
205 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530206 "name": "Leave Block List",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530207 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530208 ]
209 },
210 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530211 "label": _("Recruitment and Training"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530212 "items": [
213 {
214 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530215 "name": "Job Applicant",
216 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530217 },
218 {
219 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530220 "name": "Job Opening",
221 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530222 },
223 {
224 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530225 "name": "Job Offer",
226 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530227 },
228 {
229 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530230 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530231 },
232 {
233 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530234 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530235 },
236 {
237 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530238 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530239 },
240 {
241 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530242 "name": "Training Feedback"
243 },
244 ]
245 },
246 {
247 "label": _("Employee Lifecycle"),
248 "items": [
249 {
250 "type": "doctype",
251 "name": "Employee Transfer",
252 "dependencies": ["Employee"],
Nabin Hait55184482018-04-14 17:04:56 +0530253 },
254 {
255 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530256 "name": "Employee Promotion",
257 "dependencies": ["Employee"],
Nabin Hait55184482018-04-14 17:04:56 +0530258 },
259 {
260 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530261 "name": "Employee Separation",
262 "dependencies": ["Employee"],
Nabin Hait55184482018-04-14 17:04:56 +0530263 },
Ranjith819c3b12018-05-15 19:17:31 +0530264 {
265 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530266 "name": "Employee Onboarding",
267 "dependencies": ["Job Applicant"],
Ranjith819c3b12018-05-15 19:17:31 +0530268 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530269 {
270 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530271 "name": "Employee Separation Template",
272 "dependencies": ["Employee"]
Anand Doshi08ef4672014-05-08 11:43:18 +0530273 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530274 {
275 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530276 "name": "Employee Onboarding Template",
277 "dependencies": ["Employee"]
278 }
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530279 ]
280 },
281 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530282 "label": _("Appraisals, Expense Claims and Loans"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530283 "items": [
284 {
285 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530286 "name": "Appraisal",
287 },
288 {
289 "type": "doctype",
290 "name": "Appraisal Template",
291 },
292 {
293 "type": "page",
294 "name": "team-updates",
295 "label": _("Team Updates")
296 },
297 {
298 "type": "doctype",
Nabin Haitd0249b02017-12-14 13:25:57 +0530299 "name": "Employee Advance",
Prateeksha Singh34234072019-02-07 09:18:24 +0530300 "dependencies": ["Employee"]
Manas Solanki5b34c002018-05-16 18:09:43 +0530301 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530302 {
303 "type": "doctype",
Nabin Hait9d431a82019-04-01 21:06:12 +0530304 "name": "Expense Claim",
305 "dependencies": ["Employee"]
306 },
307 {
308 "type": "doctype",
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530309 "name": "Loan Type",
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530310 },
311 {
312 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530313 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530314 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530315 },
Nabin Hait948cc632019-04-01 20:58:20 +0530316 {
317 "type": "doctype",
318 "name": "Loan"
319 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530320 ]
321 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530322 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530323 "label": _("Reports"),
324 "icon": "fa fa-list",
325 "items": [
326 {
327 "type": "report",
328 "is_query_report": True,
329 "name": "Employee Leave Balance",
330 "doctype": "Leave Application"
331 },
332 {
333 "type": "report",
334 "is_query_report": True,
335 "name": "Employee Birthday",
336 "doctype": "Employee"
337 },
338 {
339 "type": "report",
340 "is_query_report": True,
341 "name": "Employees working on a holiday",
342 "doctype": "Employee"
343 },
344 {
345 "type": "report",
346 "name": "Employee Information",
347 "doctype": "Employee"
348 },
349 {
350 "type": "report",
351 "is_query_report": True,
352 "name": "Salary Register",
353 "doctype": "Salary Slip"
354 },
355 {
356 "type": "report",
357 "is_query_report": True,
358 "name": "Monthly Attendance Sheet",
359 "doctype": "Attendance"
360 },
361 {
362 "type": "report",
363 "is_query_report": True,
364 "name": "Vehicle Expenses",
365 "doctype": "Vehicle"
366 },
367 {
368 "type": "report",
369 "is_query_report": True,
370 "name": "Department Analytics",
371 "doctype": "Employee"
372 },
373 ]
374 },
375 {
376 "label": _("Shifts and Fleet Management"),
Nabin Haitf914bd32018-04-14 12:38:55 +0530377 "items": [
378 {
379 "type": "doctype",
380 "name": "Shift Type",
381 },
382 {
383 "type": "doctype",
384 "name": "Shift Request",
385 },
386 {
387 "type": "doctype",
388 "name": "Shift Assignment",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530389 },
Kanchan Chauhanf80c2b92017-01-09 11:34:58 +0530390 {
391 "type": "doctype",
392 "name": "Vehicle"
393 },
394 {
395 "type": "doctype",
396 "name": "Vehicle Log"
397 },
398 ]
399 },
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530400 # {
401 # "label": _("Help"),
402 # "icon": "fa fa-facetime-video",
403 # "items": [
404 # {
405 # "type": "help",
406 # "label": _("Setting up Employees"),
407 # "youtube_id": "USfIUdZlUhw"
408 # },
409 # {
410 # "type": "help",
411 # "label": _("Leave Management"),
412 # "youtube_id": "fc0p_AXebc8"
413 # },
414 # {
415 # "type": "help",
416 # "label": _("Expense Claims"),
417 # "youtube_id": "5SZHJF--ZFY"
418 # }
419 # ]
420 # },
Anand Doshi08ef4672014-05-08 11:43:18 +0530421 ]