blob: 261edaf942d84060d9d3e3889ddc57633bb5fa7c [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",
224 "name": "Employee Promotion",
225 "dependencies": ["Employee"],
226 },
227 {
228 "type": "doctype",
229 "name": "Employee Transfer",
230 "dependencies": ["Employee"],
231 },
232 {
233 "type": "doctype",
234 "name": "Employee Separation",
235 "dependencies": ["Employee"],
236 },
237 {
238 "type": "doctype",
239 "name": "Employee Onboarding Template",
240 "dependencies": ["Employee"]
241 },
242 {
243 "type": "doctype",
244 "name": "Employee Separation Template",
245 "dependencies": ["Employee"]
246 },
247 ]
248 },
249 {
250 "label": _("Recruitment"),
251 "items": [
252 {
253 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530254 "name": "Job Opening",
255 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530256 },
257 {
258 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530259 "name": "Job Applicant",
260 "onboard": 1,
261 },
262 {
263 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530264 "name": "Job Offer",
265 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530266 },
267 {
268 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530269 "name": "Staffing Plan",
270 },
271 ]
272 },
273 {
274 "label": _("Training"),
275 "items": [
276 {
277 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530278 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530279 },
280 {
281 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530282 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530283 },
284 {
285 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530286 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530287 },
288 {
289 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530290 "name": "Training Feedback"
291 },
292 ]
293 },
294 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530295 "label": _("Performance"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530296 "items": [
297 {
298 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530299 "name": "Appraisal",
300 },
301 {
302 "type": "doctype",
303 "name": "Appraisal Template",
304 },
305 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530306 "type": "doctype",
307 "name": "Energy Point Rule",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530308 },
309 {
310 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530311 "name": "Energy Point Log",
Manas Solanki5b34c002018-05-16 18:09:43 +0530312 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530313 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530314 "type": "link",
315 "doctype": "Energy Point Log",
316 "label": _("Energy Point Leaderboard"),
317 "route": "#social/users"
318 },
319 ]
320 },
321 {
322 "label": _("Expense Claims"),
323 "items": [
324 {
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530325 "type": "doctype",
Nabin Hait9d431a82019-04-01 21:06:12 +0530326 "name": "Expense Claim",
327 "dependencies": ["Employee"]
328 },
329 {
330 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530331 "name": "Employee Advance",
332 "dependencies": ["Employee"]
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530333 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530334 ]
335 },
336 {
337 "label": _("Loans"),
338 "items": [
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530339 {
340 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530341 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530342 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530343 },
Nabin Hait948cc632019-04-01 20:58:20 +0530344 {
345 "type": "doctype",
346 "name": "Loan"
Michelle Alva6abb63b2019-07-15 14:00:00 +0530347 },
348 {
349 "type": "doctype",
350 "name": "Loan Type",
351 },
352 ]
353 },
354 {
355 "label": _("Shift Management"),
356 "items": [
357 {
358 "type": "doctype",
359 "name": "Shift Type",
360 },
361 {
362 "type": "doctype",
363 "name": "Shift Request",
364 },
365 {
366 "type": "doctype",
367 "name": "Shift Assignment",
368 },
369 ]
370 },
371 {
372 "label": _("Fleet Management"),
373 "items": [
374 {
375 "type": "doctype",
376 "name": "Vehicle"
377 },
378 {
379 "type": "doctype",
380 "name": "Vehicle Log"
381 },
382 {
383 "type": "report",
384 "is_query_report": True,
385 "name": "Vehicle Expenses",
386 "doctype": "Vehicle"
387 },
388 ]
389 },
390 {
391 "label": _("Settings"),
392 "icon": "fa fa-cog",
393 "items": [
394 {
395 "type": "doctype",
396 "name": "HR Settings",
397 },
398 {
399 "type": "doctype",
400 "name": "Daily Work Summary Group"
401 },
402 {
403 "type": "page",
404 "name": "team-updates",
405 "label": _("Team Updates")
406 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530407 ]
408 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530409 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530410 "label": _("Reports"),
411 "icon": "fa fa-list",
412 "items": [
413 {
414 "type": "report",
415 "is_query_report": True,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530416 "name": "Employee Birthday",
417 "doctype": "Employee"
418 },
419 {
420 "type": "report",
421 "is_query_report": True,
422 "name": "Employees working on a holiday",
423 "doctype": "Employee"
424 },
425 {
426 "type": "report",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530427 "is_query_report": True,
428 "name": "Department Analytics",
429 "doctype": "Employee"
430 },
431 ]
432 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530433 ]