blob: 9855a115a608377e8e400f34b7d56fae0065df5a [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",
Nabin Haitb8d633c2020-04-30 11:03:49 +0530175 "name": "Income Tax Slab",
176 },
177 {
178 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530179 "name": "Salary Component",
180 },
181 {
182 "type": "doctype",
183 "name": "Additional Salary",
184 },
185 {
186 "type": "doctype",
187 "name": "Retention Bonus",
188 "dependencies": ["Employee"]
189 },
190 {
191 "type": "doctype",
192 "name": "Employee Incentive",
193 "dependencies": ["Employee"]
194 },
195 {
196 "type": "report",
197 "is_query_report": True,
198 "name": "Salary Register",
199 "doctype": "Salary Slip"
200 },
201 ]
202 },
203 {
204 "label": _("Employee Tax and Benefits"),
205 "items": [
206 {
207 "type": "doctype",
208 "name": "Employee Tax Exemption Declaration",
209 "dependencies": ["Employee"]
210 },
211 {
212 "type": "doctype",
213 "name": "Employee Tax Exemption Proof Submission",
214 "dependencies": ["Employee"]
215 },
216 {
217 "type": "doctype",
Nabin Haitb8d633c2020-04-30 11:03:49 +0530218 "name": "Employee Other Income",
219 },
220 {
221 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530222 "name": "Employee Benefit Application",
223 "dependencies": ["Employee"]
224 },
225 {
226 "type": "doctype",
227 "name": "Employee Benefit Claim",
228 "dependencies": ["Employee"]
229 },
Michelle Alvaaf969d62019-08-12 12:59:59 +0530230 {
231 "type": "doctype",
232 "name": "Employee Tax Exemption Category",
233 "dependencies": ["Employee"]
234 },
235 {
236 "type": "doctype",
237 "name": "Employee Tax Exemption Sub Category",
238 "dependencies": ["Employee"]
239 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530240 ]
241 },
242 {
243 "label": _("Employee Lifecycle"),
244 "items": [
245 {
246 "type": "doctype",
247 "name": "Employee Onboarding",
248 "dependencies": ["Job Applicant"],
249 },
250 {
251 "type": "doctype",
Suraj Shettye0d8cf12019-07-18 15:58:50 +0530252 "name": "Employee Skill Map",
253 "dependencies": ["Employee"],
254 },
255 {
256 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530257 "name": "Employee Promotion",
258 "dependencies": ["Employee"],
259 },
260 {
261 "type": "doctype",
262 "name": "Employee Transfer",
263 "dependencies": ["Employee"],
264 },
265 {
266 "type": "doctype",
267 "name": "Employee Separation",
268 "dependencies": ["Employee"],
269 },
270 {
271 "type": "doctype",
272 "name": "Employee Onboarding Template",
273 "dependencies": ["Employee"]
274 },
275 {
276 "type": "doctype",
277 "name": "Employee Separation Template",
278 "dependencies": ["Employee"]
279 },
280 ]
281 },
282 {
283 "label": _("Recruitment"),
284 "items": [
285 {
286 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530287 "name": "Job Opening",
288 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530289 },
290 {
291 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530292 "name": "Job Applicant",
293 "onboard": 1,
294 },
295 {
296 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530297 "name": "Job Offer",
298 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530299 },
300 {
301 "type": "doctype",
Anurag Mishra1f6cc2b2020-02-03 17:52:42 +0530302 "name": "Appointment Letter",
303 },
304 {
305 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530306 "name": "Staffing Plan",
307 },
308 ]
309 },
310 {
311 "label": _("Training"),
312 "items": [
313 {
314 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530315 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530316 },
317 {
318 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530319 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530320 },
321 {
322 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530323 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530324 },
325 {
326 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530327 "name": "Training Feedback"
328 },
329 ]
330 },
331 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530332 "label": _("Performance"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530333 "items": [
334 {
335 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530336 "name": "Appraisal",
337 },
338 {
339 "type": "doctype",
340 "name": "Appraisal Template",
341 },
342 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530343 "type": "doctype",
344 "name": "Energy Point Rule",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530345 },
346 {
347 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530348 "name": "Energy Point Log",
Manas Solanki5b34c002018-05-16 18:09:43 +0530349 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530350 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530351 "type": "link",
352 "doctype": "Energy Point Log",
353 "label": _("Energy Point Leaderboard"),
354 "route": "#social/users"
355 },
356 ]
357 },
358 {
359 "label": _("Expense Claims"),
360 "items": [
361 {
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530362 "type": "doctype",
Nabin Hait9d431a82019-04-01 21:06:12 +0530363 "name": "Expense Claim",
364 "dependencies": ["Employee"]
365 },
366 {
367 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530368 "name": "Employee Advance",
369 "dependencies": ["Employee"]
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530370 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530371 ]
372 },
373 {
374 "label": _("Loans"),
375 "items": [
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530376 {
377 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530378 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530379 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530380 },
Nabin Hait948cc632019-04-01 20:58:20 +0530381 {
382 "type": "doctype",
383 "name": "Loan"
Michelle Alva6abb63b2019-07-15 14:00:00 +0530384 },
385 {
386 "type": "doctype",
387 "name": "Loan Type",
388 },
389 ]
390 },
391 {
392 "label": _("Shift Management"),
393 "items": [
394 {
395 "type": "doctype",
396 "name": "Shift Type",
397 },
398 {
399 "type": "doctype",
400 "name": "Shift Request",
401 },
402 {
403 "type": "doctype",
404 "name": "Shift Assignment",
405 },
406 ]
407 },
408 {
409 "label": _("Fleet Management"),
410 "items": [
411 {
412 "type": "doctype",
413 "name": "Vehicle"
414 },
415 {
416 "type": "doctype",
417 "name": "Vehicle Log"
418 },
419 {
420 "type": "report",
421 "is_query_report": True,
422 "name": "Vehicle Expenses",
423 "doctype": "Vehicle"
424 },
425 ]
426 },
427 {
428 "label": _("Settings"),
429 "icon": "fa fa-cog",
430 "items": [
431 {
432 "type": "doctype",
433 "name": "HR Settings",
434 },
435 {
436 "type": "doctype",
437 "name": "Daily Work Summary Group"
438 },
439 {
440 "type": "page",
441 "name": "team-updates",
442 "label": _("Team Updates")
443 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530444 ]
445 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530446 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530447 "label": _("Reports"),
448 "icon": "fa fa-list",
449 "items": [
450 {
451 "type": "report",
452 "is_query_report": True,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530453 "name": "Employee Birthday",
454 "doctype": "Employee"
455 },
456 {
457 "type": "report",
458 "is_query_report": True,
459 "name": "Employees working on a holiday",
460 "doctype": "Employee"
461 },
462 {
463 "type": "report",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530464 "is_query_report": True,
465 "name": "Department Analytics",
466 "doctype": "Employee"
467 },
468 ]
469 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530470 ]