blob: 7b3b4660f57dcaf8dc86e8af1c6a424fbc8874e6 [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 {
Michelle Alva6abb63b2019-07-15 14:00:00 +05307 "label": _("Employee"),
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": "Employment Type",
17 },
18 {
19 "type": "doctype",
20 "name": "Branch",
21 },
22 {
23 "type": "doctype",
24 "name": "Department",
25 },
26 {
27 "type": "doctype",
28 "name": "Designation",
29 },
30 {
31 "type": "doctype",
32 "name": "Employee Grade",
33 },
34 {
35 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +053036 "name": "Employee Group",
37 "dependencies": ["Employee"]
Prateeksha Singh34234072019-02-07 09:18:24 +053038 },
39 {
40 "type": "doctype",
41 "name": "Employee Health Insurance"
42 },
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053043 ]
44 },
Michelle Alva6abb63b2019-07-15 14:00:00 +053045 {
46 "label": _("Attendance"),
47 "items": [
48 {
49 "type": "doctype",
50 "name": "Employee Attendance Tool",
51 "hide_count": True,
52 "onboard": 1,
53 "dependencies": ["Employee"]
54 },
55 {
56 "type": "doctype",
57 "name": "Attendance",
58 "onboard": 1,
59 "dependencies": ["Employee"]
60 },
61 {
62 "type": "doctype",
63 "name": "Attendance Request",
64 "dependencies": ["Employee"]
65 },
66 {
67 "type": "doctype",
68 "name": "Upload Attendance",
69 "hide_count": True,
70 "dependencies": ["Employee"]
71 },
72 {
73 "type": "doctype",
74 "name": "Employee Checkin",
75 "hide_count": True,
76 "dependencies": ["Employee"]
77 },
78 {
79 "type": "report",
80 "is_query_report": True,
81 "name": "Monthly Attendance Sheet",
82 "doctype": "Attendance"
83 },
84 ]
85 },
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053086 {
Prateeksha Singh34234072019-02-07 09:18:24 +053087 "label": _("Leaves"),
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053088 "items": [
89 {
90 "type": "doctype",
Nabin Haitfcdca7f2018-04-14 12:54:51 +053091 "name": "Leave Application",
Prateeksha Singh34234072019-02-07 09:18:24 +053092 "dependencies": ["Employee"]
Nabin Haitfcdca7f2018-04-14 12:54:51 +053093 },
94 {
95 "type": "doctype",
96 "name": "Leave Allocation",
Prateeksha Singh34234072019-02-07 09:18:24 +053097 "dependencies": ["Employee"]
Nabin Haitfcdca7f2018-04-14 12:54:51 +053098 },
99 {
100 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530101 "name": "Leave Policy",
102 "dependencies": ["Leave Type"]
Nabin Haitf914bd32018-04-14 12:38:55 +0530103 },
104 {
105 "type": "doctype",
Rushabh Mehta20fd2dd2018-08-30 09:21:54 +0530106 "name": "Leave Period",
Prateeksha Singh34234072019-02-07 09:18:24 +0530107 "dependencies": ["Employee"]
Rushabh Mehta20fd2dd2018-08-30 09:21:54 +0530108 },
109 {
110 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530111 "name":"Leave Type",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530112 },
113 {
114 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530115 "name": "Holiday List",
Prateeksha Singh34234072019-02-07 09:18:24 +0530116 },
117 {
118 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530119 "name": "Compensatory Leave Request",
120 "dependencies": ["Employee"]
121 },
122 {
123 "type": "doctype",
124 "name": "Leave Encashment",
125 "dependencies": ["Employee"]
Anand Doshi08ef4672014-05-08 11:43:18 +0530126 },
127 {
128 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530129 "name": "Leave Block List",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530130 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530131 {
132 "type": "report",
133 "is_query_report": True,
134 "name": "Employee Leave Balance",
135 "doctype": "Leave Application"
136 },
Mangesh-Khairnar5ca3e832019-07-25 14:35:39 +0530137 {
138 "type": "report",
139 "is_query_report": True,
140 "name": "Leave Ledger Entry",
141 "doctype": "Leave Ledger Entry"
142 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530143 ]
144 },
145 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530146 "label": _("Payroll"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530147 "items": [
148 {
149 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530150 "name": "Salary Structure",
Prateeksha Singh34234072019-02-07 09:18:24 +0530151 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530152 },
153 {
154 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530155 "name": "Salary Structure Assignment",
156 "onboard": 1,
157 "dependencies": ["Salary Structure", "Employee"],
158 },
159 {
160 "type": "doctype",
161 "name": "Payroll Entry",
162 "onboard": 1,
163 },
164 {
165 "type": "doctype",
166 "name": "Salary Slip",
167 "onboard": 1,
168 },
169 {
170 "type": "doctype",
Michelle Alvae666b882019-07-27 10:03:18 +0530171 "name": "Payroll Period",
172 },
173 {
174 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530175 "name": "Salary Component",
176 },
177 {
178 "type": "doctype",
179 "name": "Additional Salary",
180 },
181 {
182 "type": "doctype",
183 "name": "Retention Bonus",
184 "dependencies": ["Employee"]
185 },
186 {
187 "type": "doctype",
188 "name": "Employee Incentive",
189 "dependencies": ["Employee"]
190 },
191 {
192 "type": "report",
193 "is_query_report": True,
194 "name": "Salary Register",
195 "doctype": "Salary Slip"
196 },
197 ]
198 },
199 {
200 "label": _("Employee Tax and Benefits"),
201 "items": [
202 {
203 "type": "doctype",
204 "name": "Employee Tax Exemption Declaration",
205 "dependencies": ["Employee"]
206 },
207 {
208 "type": "doctype",
209 "name": "Employee Tax Exemption Proof Submission",
210 "dependencies": ["Employee"]
211 },
212 {
213 "type": "doctype",
214 "name": "Employee Benefit Application",
215 "dependencies": ["Employee"]
216 },
217 {
218 "type": "doctype",
219 "name": "Employee Benefit Claim",
220 "dependencies": ["Employee"]
221 },
Michelle Alvaaf969d62019-08-12 12:59:59 +0530222 {
223 "type": "doctype",
224 "name": "Employee Tax Exemption Category",
225 "dependencies": ["Employee"]
226 },
227 {
228 "type": "doctype",
229 "name": "Employee Tax Exemption Sub Category",
230 "dependencies": ["Employee"]
231 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530232 ]
233 },
234 {
235 "label": _("Employee Lifecycle"),
236 "items": [
237 {
238 "type": "doctype",
239 "name": "Employee Onboarding",
240 "dependencies": ["Job Applicant"],
241 },
242 {
243 "type": "doctype",
Suraj Shettye0d8cf12019-07-18 15:58:50 +0530244 "name": "Employee Skill Map",
245 "dependencies": ["Employee"],
246 },
247 {
248 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530249 "name": "Employee Promotion",
250 "dependencies": ["Employee"],
251 },
252 {
253 "type": "doctype",
254 "name": "Employee Transfer",
255 "dependencies": ["Employee"],
256 },
257 {
258 "type": "doctype",
259 "name": "Employee Separation",
260 "dependencies": ["Employee"],
261 },
262 {
263 "type": "doctype",
264 "name": "Employee Onboarding Template",
265 "dependencies": ["Employee"]
266 },
267 {
268 "type": "doctype",
269 "name": "Employee Separation Template",
270 "dependencies": ["Employee"]
271 },
272 ]
273 },
274 {
275 "label": _("Recruitment"),
276 "items": [
277 {
278 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530279 "name": "Job Opening",
280 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530281 },
282 {
283 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530284 "name": "Job Applicant",
285 "onboard": 1,
286 },
287 {
288 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530289 "name": "Job Offer",
290 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530291 },
292 {
293 "type": "doctype",
Anurag Mishra1f6cc2b2020-02-03 17:52:42 +0530294 "name": "Appointment Letter",
295 },
296 {
297 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530298 "name": "Staffing Plan",
299 },
300 ]
301 },
302 {
303 "label": _("Training"),
304 "items": [
305 {
306 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530307 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530308 },
309 {
310 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530311 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530312 },
313 {
314 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530315 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530316 },
317 {
318 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530319 "name": "Training Feedback"
320 },
321 ]
322 },
323 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530324 "label": _("Performance"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530325 "items": [
326 {
327 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530328 "name": "Appraisal",
329 },
330 {
331 "type": "doctype",
332 "name": "Appraisal Template",
333 },
334 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530335 "type": "doctype",
336 "name": "Energy Point Rule",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530337 },
338 {
339 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530340 "name": "Energy Point Log",
Manas Solanki5b34c002018-05-16 18:09:43 +0530341 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530342 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530343 "type": "link",
344 "doctype": "Energy Point Log",
345 "label": _("Energy Point Leaderboard"),
346 "route": "#social/users"
347 },
348 ]
349 },
350 {
351 "label": _("Expense Claims"),
352 "items": [
353 {
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530354 "type": "doctype",
Nabin Hait9d431a82019-04-01 21:06:12 +0530355 "name": "Expense Claim",
356 "dependencies": ["Employee"]
357 },
358 {
359 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530360 "name": "Employee Advance",
361 "dependencies": ["Employee"]
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530362 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530363 ]
364 },
365 {
366 "label": _("Loans"),
367 "items": [
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530368 {
369 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530370 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530371 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530372 },
Nabin Hait948cc632019-04-01 20:58:20 +0530373 {
374 "type": "doctype",
375 "name": "Loan"
Michelle Alva6abb63b2019-07-15 14:00:00 +0530376 },
377 {
378 "type": "doctype",
379 "name": "Loan Type",
380 },
381 ]
382 },
383 {
384 "label": _("Shift Management"),
385 "items": [
386 {
387 "type": "doctype",
388 "name": "Shift Type",
389 },
390 {
391 "type": "doctype",
392 "name": "Shift Request",
393 },
394 {
395 "type": "doctype",
396 "name": "Shift Assignment",
397 },
398 ]
399 },
400 {
401 "label": _("Fleet Management"),
402 "items": [
403 {
404 "type": "doctype",
405 "name": "Vehicle"
406 },
407 {
408 "type": "doctype",
409 "name": "Vehicle Log"
410 },
411 {
412 "type": "report",
413 "is_query_report": True,
414 "name": "Vehicle Expenses",
415 "doctype": "Vehicle"
416 },
417 ]
418 },
419 {
420 "label": _("Settings"),
421 "icon": "fa fa-cog",
422 "items": [
423 {
424 "type": "doctype",
425 "name": "HR Settings",
426 },
427 {
428 "type": "doctype",
429 "name": "Daily Work Summary Group"
430 },
431 {
432 "type": "page",
433 "name": "team-updates",
434 "label": _("Team Updates")
435 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530436 ]
437 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530438 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530439 "label": _("Reports"),
440 "icon": "fa fa-list",
441 "items": [
442 {
443 "type": "report",
444 "is_query_report": True,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530445 "name": "Employee Birthday",
446 "doctype": "Employee"
447 },
448 {
449 "type": "report",
450 "is_query_report": True,
451 "name": "Employees working on a holiday",
452 "doctype": "Employee"
453 },
454 {
455 "type": "report",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530456 "is_query_report": True,
457 "name": "Department Analytics",
458 "doctype": "Employee"
459 },
460 ]
461 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530462 ]