blob: 4e5e9037b3a2621b9ec159fa6c9678e5d61d8f60 [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",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530294 "name": "Staffing Plan",
295 },
296 ]
297 },
298 {
299 "label": _("Training"),
300 "items": [
301 {
302 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530303 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530304 },
305 {
306 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530307 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530308 },
309 {
310 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530311 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530312 },
313 {
314 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530315 "name": "Training Feedback"
316 },
317 ]
318 },
319 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530320 "label": _("Performance"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530321 "items": [
322 {
323 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530324 "name": "Appraisal",
325 },
326 {
327 "type": "doctype",
328 "name": "Appraisal Template",
329 },
330 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530331 "type": "doctype",
332 "name": "Energy Point Rule",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530333 },
334 {
335 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530336 "name": "Energy Point Log",
Manas Solanki5b34c002018-05-16 18:09:43 +0530337 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530338 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530339 "type": "link",
340 "doctype": "Energy Point Log",
341 "label": _("Energy Point Leaderboard"),
342 "route": "#social/users"
343 },
344 ]
345 },
346 {
347 "label": _("Expense Claims"),
348 "items": [
349 {
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530350 "type": "doctype",
Nabin Hait9d431a82019-04-01 21:06:12 +0530351 "name": "Expense Claim",
352 "dependencies": ["Employee"]
353 },
354 {
355 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530356 "name": "Employee Advance",
357 "dependencies": ["Employee"]
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530358 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530359 ]
360 },
361 {
362 "label": _("Loans"),
363 "items": [
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530364 {
365 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530366 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530367 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530368 },
Nabin Hait948cc632019-04-01 20:58:20 +0530369 {
370 "type": "doctype",
371 "name": "Loan"
Michelle Alva6abb63b2019-07-15 14:00:00 +0530372 },
373 {
374 "type": "doctype",
375 "name": "Loan Type",
376 },
377 ]
378 },
379 {
380 "label": _("Shift Management"),
381 "items": [
382 {
383 "type": "doctype",
384 "name": "Shift Type",
385 },
386 {
387 "type": "doctype",
388 "name": "Shift Request",
389 },
390 {
391 "type": "doctype",
392 "name": "Shift Assignment",
393 },
394 ]
395 },
396 {
397 "label": _("Fleet Management"),
398 "items": [
399 {
400 "type": "doctype",
401 "name": "Vehicle"
402 },
403 {
404 "type": "doctype",
405 "name": "Vehicle Log"
406 },
407 {
408 "type": "report",
409 "is_query_report": True,
410 "name": "Vehicle Expenses",
411 "doctype": "Vehicle"
412 },
413 ]
414 },
415 {
416 "label": _("Settings"),
417 "icon": "fa fa-cog",
418 "items": [
419 {
420 "type": "doctype",
421 "name": "HR Settings",
422 },
423 {
424 "type": "doctype",
425 "name": "Daily Work Summary Group"
426 },
427 {
428 "type": "page",
429 "name": "team-updates",
430 "label": _("Team Updates")
431 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530432 ]
433 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530434 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530435 "label": _("Reports"),
436 "icon": "fa fa-list",
437 "items": [
438 {
439 "type": "report",
440 "is_query_report": True,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530441 "name": "Employee Birthday",
442 "doctype": "Employee"
443 },
444 {
445 "type": "report",
446 "is_query_report": True,
447 "name": "Employees working on a holiday",
448 "doctype": "Employee"
449 },
450 {
451 "type": "report",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530452 "is_query_report": True,
453 "name": "Department Analytics",
454 "doctype": "Employee"
455 },
456 ]
457 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530458 ]