blob: 0367755595ae74eb33ac9d7a3941ab440e8481ce [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 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530137 ]
138 },
139 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530140 "label": _("Payroll"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530141 "items": [
142 {
143 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530144 "name": "Salary Structure",
Prateeksha Singh34234072019-02-07 09:18:24 +0530145 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530146 },
147 {
148 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530149 "name": "Salary Structure Assignment",
150 "onboard": 1,
151 "dependencies": ["Salary Structure", "Employee"],
152 },
153 {
154 "type": "doctype",
155 "name": "Payroll Entry",
156 "onboard": 1,
157 },
158 {
159 "type": "doctype",
160 "name": "Salary Slip",
161 "onboard": 1,
162 },
163 {
164 "type": "doctype",
165 "name": "Salary Component",
166 },
167 {
168 "type": "doctype",
169 "name": "Additional Salary",
170 },
171 {
172 "type": "doctype",
173 "name": "Retention Bonus",
174 "dependencies": ["Employee"]
175 },
176 {
177 "type": "doctype",
178 "name": "Employee Incentive",
179 "dependencies": ["Employee"]
180 },
181 {
182 "type": "report",
183 "is_query_report": True,
184 "name": "Salary Register",
185 "doctype": "Salary Slip"
186 },
187 ]
188 },
189 {
190 "label": _("Employee Tax and Benefits"),
191 "items": [
192 {
193 "type": "doctype",
194 "name": "Employee Tax Exemption Declaration",
195 "dependencies": ["Employee"]
196 },
197 {
198 "type": "doctype",
199 "name": "Employee Tax Exemption Proof Submission",
200 "dependencies": ["Employee"]
201 },
202 {
203 "type": "doctype",
204 "name": "Employee Benefit Application",
205 "dependencies": ["Employee"]
206 },
207 {
208 "type": "doctype",
209 "name": "Employee Benefit Claim",
210 "dependencies": ["Employee"]
211 },
212 ]
213 },
214 {
215 "label": _("Employee Lifecycle"),
216 "items": [
217 {
218 "type": "doctype",
219 "name": "Employee Onboarding",
220 "dependencies": ["Job Applicant"],
221 },
222 {
223 "type": "doctype",
Suraj Shettye0d8cf12019-07-18 15:58:50 +0530224 "name": "Employee Skill Map",
225 "dependencies": ["Employee"],
226 },
227 {
228 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530229 "name": "Employee Promotion",
230 "dependencies": ["Employee"],
231 },
232 {
233 "type": "doctype",
234 "name": "Employee Transfer",
235 "dependencies": ["Employee"],
236 },
237 {
238 "type": "doctype",
239 "name": "Employee Separation",
240 "dependencies": ["Employee"],
241 },
242 {
243 "type": "doctype",
244 "name": "Employee Onboarding Template",
245 "dependencies": ["Employee"]
246 },
247 {
248 "type": "doctype",
249 "name": "Employee Separation Template",
250 "dependencies": ["Employee"]
251 },
252 ]
253 },
254 {
255 "label": _("Recruitment"),
256 "items": [
257 {
258 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530259 "name": "Job Opening",
260 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530261 },
262 {
263 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530264 "name": "Job Applicant",
265 "onboard": 1,
266 },
267 {
268 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530269 "name": "Job Offer",
270 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530271 },
272 {
273 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530274 "name": "Staffing Plan",
275 },
276 ]
277 },
278 {
279 "label": _("Training"),
280 "items": [
281 {
282 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530283 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530284 },
285 {
286 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530287 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530288 },
289 {
290 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530291 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530292 },
293 {
294 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530295 "name": "Training Feedback"
296 },
297 ]
298 },
299 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530300 "label": _("Performance"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530301 "items": [
302 {
303 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530304 "name": "Appraisal",
305 },
306 {
307 "type": "doctype",
308 "name": "Appraisal Template",
309 },
310 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530311 "type": "doctype",
312 "name": "Energy Point Rule",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530313 },
314 {
315 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530316 "name": "Energy Point Log",
Manas Solanki5b34c002018-05-16 18:09:43 +0530317 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530318 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530319 "type": "link",
320 "doctype": "Energy Point Log",
321 "label": _("Energy Point Leaderboard"),
322 "route": "#social/users"
323 },
324 ]
325 },
326 {
327 "label": _("Expense Claims"),
328 "items": [
329 {
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530330 "type": "doctype",
Nabin Hait9d431a82019-04-01 21:06:12 +0530331 "name": "Expense Claim",
332 "dependencies": ["Employee"]
333 },
334 {
335 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530336 "name": "Employee Advance",
337 "dependencies": ["Employee"]
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530338 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530339 ]
340 },
341 {
342 "label": _("Loans"),
343 "items": [
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530344 {
345 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530346 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530347 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530348 },
Nabin Hait948cc632019-04-01 20:58:20 +0530349 {
350 "type": "doctype",
351 "name": "Loan"
Michelle Alva6abb63b2019-07-15 14:00:00 +0530352 },
353 {
354 "type": "doctype",
355 "name": "Loan Type",
356 },
357 ]
358 },
359 {
360 "label": _("Shift Management"),
361 "items": [
362 {
363 "type": "doctype",
364 "name": "Shift Type",
365 },
366 {
367 "type": "doctype",
368 "name": "Shift Request",
369 },
370 {
371 "type": "doctype",
372 "name": "Shift Assignment",
373 },
374 ]
375 },
376 {
377 "label": _("Fleet Management"),
378 "items": [
379 {
380 "type": "doctype",
381 "name": "Vehicle"
382 },
383 {
384 "type": "doctype",
385 "name": "Vehicle Log"
386 },
387 {
388 "type": "report",
389 "is_query_report": True,
390 "name": "Vehicle Expenses",
391 "doctype": "Vehicle"
392 },
393 ]
394 },
395 {
396 "label": _("Settings"),
397 "icon": "fa fa-cog",
398 "items": [
399 {
400 "type": "doctype",
401 "name": "HR Settings",
402 },
403 {
404 "type": "doctype",
405 "name": "Daily Work Summary Group"
406 },
407 {
408 "type": "page",
409 "name": "team-updates",
410 "label": _("Team Updates")
411 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530412 ]
413 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530414 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530415 "label": _("Reports"),
416 "icon": "fa fa-list",
417 "items": [
418 {
419 "type": "report",
420 "is_query_report": True,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530421 "name": "Employee Birthday",
422 "doctype": "Employee"
423 },
424 {
425 "type": "report",
426 "is_query_report": True,
427 "name": "Employees working on a holiday",
428 "doctype": "Employee"
429 },
430 {
431 "type": "report",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530432 "is_query_report": True,
433 "name": "Department Analytics",
434 "doctype": "Employee"
435 },
436 ]
437 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530438 ]