blob: eae937c4493b44c162aa6a9f42f858ac2a6e2f25 [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",
171 "name": "Salary Component",
172 },
173 {
174 "type": "doctype",
175 "name": "Additional Salary",
176 },
177 {
178 "type": "doctype",
179 "name": "Retention Bonus",
180 "dependencies": ["Employee"]
181 },
182 {
183 "type": "doctype",
184 "name": "Employee Incentive",
185 "dependencies": ["Employee"]
186 },
187 {
188 "type": "report",
189 "is_query_report": True,
190 "name": "Salary Register",
191 "doctype": "Salary Slip"
192 },
193 ]
194 },
195 {
196 "label": _("Employee Tax and Benefits"),
197 "items": [
198 {
199 "type": "doctype",
200 "name": "Employee Tax Exemption Declaration",
201 "dependencies": ["Employee"]
202 },
203 {
204 "type": "doctype",
205 "name": "Employee Tax Exemption Proof Submission",
206 "dependencies": ["Employee"]
207 },
208 {
209 "type": "doctype",
210 "name": "Employee Benefit Application",
211 "dependencies": ["Employee"]
212 },
213 {
214 "type": "doctype",
215 "name": "Employee Benefit Claim",
216 "dependencies": ["Employee"]
217 },
Michelle Alvaaf969d62019-08-12 12:59:59 +0530218 {
219 "type": "doctype",
220 "name": "Employee Tax Exemption Category",
221 "dependencies": ["Employee"]
222 },
223 {
224 "type": "doctype",
225 "name": "Employee Tax Exemption Sub Category",
226 "dependencies": ["Employee"]
227 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530228 ]
229 },
230 {
231 "label": _("Employee Lifecycle"),
232 "items": [
233 {
234 "type": "doctype",
235 "name": "Employee Onboarding",
236 "dependencies": ["Job Applicant"],
237 },
238 {
239 "type": "doctype",
Suraj Shettye0d8cf12019-07-18 15:58:50 +0530240 "name": "Employee Skill Map",
241 "dependencies": ["Employee"],
242 },
243 {
244 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530245 "name": "Employee Promotion",
246 "dependencies": ["Employee"],
247 },
248 {
249 "type": "doctype",
250 "name": "Employee Transfer",
251 "dependencies": ["Employee"],
252 },
253 {
254 "type": "doctype",
255 "name": "Employee Separation",
256 "dependencies": ["Employee"],
257 },
258 {
259 "type": "doctype",
260 "name": "Employee Onboarding Template",
261 "dependencies": ["Employee"]
262 },
263 {
264 "type": "doctype",
265 "name": "Employee Separation Template",
266 "dependencies": ["Employee"]
267 },
268 ]
269 },
270 {
271 "label": _("Recruitment"),
272 "items": [
273 {
274 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530275 "name": "Job Opening",
276 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530277 },
278 {
279 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530280 "name": "Job Applicant",
281 "onboard": 1,
282 },
283 {
284 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530285 "name": "Job Offer",
286 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530287 },
288 {
289 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530290 "name": "Staffing Plan",
291 },
292 ]
293 },
294 {
295 "label": _("Training"),
296 "items": [
297 {
298 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530299 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530300 },
301 {
302 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530303 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530304 },
305 {
306 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530307 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530308 },
309 {
310 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530311 "name": "Training Feedback"
312 },
313 ]
314 },
315 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530316 "label": _("Performance"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530317 "items": [
318 {
319 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530320 "name": "Appraisal",
321 },
322 {
323 "type": "doctype",
324 "name": "Appraisal Template",
325 },
326 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530327 "type": "doctype",
328 "name": "Energy Point Rule",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530329 },
330 {
331 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530332 "name": "Energy Point Log",
Manas Solanki5b34c002018-05-16 18:09:43 +0530333 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530334 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530335 "type": "link",
336 "doctype": "Energy Point Log",
337 "label": _("Energy Point Leaderboard"),
338 "route": "#social/users"
339 },
340 ]
341 },
342 {
343 "label": _("Expense Claims"),
344 "items": [
345 {
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530346 "type": "doctype",
Nabin Hait9d431a82019-04-01 21:06:12 +0530347 "name": "Expense Claim",
348 "dependencies": ["Employee"]
349 },
350 {
351 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530352 "name": "Employee Advance",
353 "dependencies": ["Employee"]
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530354 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530355 ]
356 },
357 {
358 "label": _("Loans"),
359 "items": [
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530360 {
361 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530362 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530363 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530364 },
Nabin Hait948cc632019-04-01 20:58:20 +0530365 {
366 "type": "doctype",
367 "name": "Loan"
Michelle Alva6abb63b2019-07-15 14:00:00 +0530368 },
369 {
370 "type": "doctype",
371 "name": "Loan Type",
372 },
373 ]
374 },
375 {
376 "label": _("Shift Management"),
377 "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",
389 },
390 ]
391 },
392 {
393 "label": _("Fleet Management"),
394 "items": [
395 {
396 "type": "doctype",
397 "name": "Vehicle"
398 },
399 {
400 "type": "doctype",
401 "name": "Vehicle Log"
402 },
403 {
404 "type": "report",
405 "is_query_report": True,
406 "name": "Vehicle Expenses",
407 "doctype": "Vehicle"
408 },
409 ]
410 },
411 {
412 "label": _("Settings"),
413 "icon": "fa fa-cog",
414 "items": [
415 {
416 "type": "doctype",
417 "name": "HR Settings",
418 },
419 {
420 "type": "doctype",
421 "name": "Daily Work Summary Group"
422 },
423 {
424 "type": "page",
425 "name": "team-updates",
426 "label": _("Team Updates")
427 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530428 ]
429 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530430 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530431 "label": _("Reports"),
432 "icon": "fa fa-list",
433 "items": [
434 {
435 "type": "report",
436 "is_query_report": True,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530437 "name": "Employee Birthday",
438 "doctype": "Employee"
439 },
440 {
441 "type": "report",
442 "is_query_report": True,
443 "name": "Employees working on a holiday",
444 "doctype": "Employee"
445 },
446 {
447 "type": "report",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530448 "is_query_report": True,
449 "name": "Department Analytics",
450 "doctype": "Employee"
451 },
452 ]
453 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530454 ]