blob: 0d05cb183d428d1e8b5726d7224c424f71aea0f3 [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 },
Michelle Alvaaf969d62019-08-12 12:59:59 +0530212 {
213 "type": "doctype",
214 "name": "Employee Tax Exemption Category",
215 "dependencies": ["Employee"]
216 },
217 {
218 "type": "doctype",
219 "name": "Employee Tax Exemption Sub Category",
220 "dependencies": ["Employee"]
221 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530222 ]
223 },
224 {
225 "label": _("Employee Lifecycle"),
226 "items": [
227 {
228 "type": "doctype",
229 "name": "Employee Onboarding",
230 "dependencies": ["Job Applicant"],
231 },
232 {
233 "type": "doctype",
Suraj Shettye0d8cf12019-07-18 15:58:50 +0530234 "name": "Employee Skill Map",
235 "dependencies": ["Employee"],
236 },
237 {
238 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530239 "name": "Employee Promotion",
240 "dependencies": ["Employee"],
241 },
242 {
243 "type": "doctype",
244 "name": "Employee Transfer",
245 "dependencies": ["Employee"],
246 },
247 {
248 "type": "doctype",
249 "name": "Employee Separation",
250 "dependencies": ["Employee"],
251 },
252 {
253 "type": "doctype",
254 "name": "Employee Onboarding Template",
255 "dependencies": ["Employee"]
256 },
257 {
258 "type": "doctype",
259 "name": "Employee Separation Template",
260 "dependencies": ["Employee"]
261 },
262 ]
263 },
264 {
265 "label": _("Recruitment"),
266 "items": [
267 {
268 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530269 "name": "Job Opening",
270 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530271 },
272 {
273 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530274 "name": "Job Applicant",
275 "onboard": 1,
276 },
277 {
278 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530279 "name": "Job Offer",
280 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530281 },
282 {
283 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530284 "name": "Staffing Plan",
285 },
286 ]
287 },
288 {
289 "label": _("Training"),
290 "items": [
291 {
292 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530293 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530294 },
295 {
296 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530297 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530298 },
299 {
300 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530301 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530302 },
303 {
304 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530305 "name": "Training Feedback"
306 },
307 ]
308 },
309 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530310 "label": _("Performance"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530311 "items": [
312 {
313 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530314 "name": "Appraisal",
315 },
316 {
317 "type": "doctype",
318 "name": "Appraisal Template",
319 },
320 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530321 "type": "doctype",
322 "name": "Energy Point Rule",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530323 },
324 {
325 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530326 "name": "Energy Point Log",
Manas Solanki5b34c002018-05-16 18:09:43 +0530327 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530328 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530329 "type": "link",
330 "doctype": "Energy Point Log",
331 "label": _("Energy Point Leaderboard"),
332 "route": "#social/users"
333 },
334 ]
335 },
336 {
337 "label": _("Expense Claims"),
338 "items": [
339 {
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530340 "type": "doctype",
Nabin Hait9d431a82019-04-01 21:06:12 +0530341 "name": "Expense Claim",
342 "dependencies": ["Employee"]
343 },
344 {
345 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530346 "name": "Employee Advance",
347 "dependencies": ["Employee"]
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530348 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530349 ]
350 },
351 {
352 "label": _("Loans"),
353 "items": [
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530354 {
355 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530356 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530357 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530358 },
Nabin Hait948cc632019-04-01 20:58:20 +0530359 {
360 "type": "doctype",
361 "name": "Loan"
Michelle Alva6abb63b2019-07-15 14:00:00 +0530362 },
363 {
364 "type": "doctype",
365 "name": "Loan Type",
366 },
367 ]
368 },
369 {
370 "label": _("Shift Management"),
371 "items": [
372 {
373 "type": "doctype",
374 "name": "Shift Type",
375 },
376 {
377 "type": "doctype",
378 "name": "Shift Request",
379 },
380 {
381 "type": "doctype",
382 "name": "Shift Assignment",
383 },
384 ]
385 },
386 {
387 "label": _("Fleet Management"),
388 "items": [
389 {
390 "type": "doctype",
391 "name": "Vehicle"
392 },
393 {
394 "type": "doctype",
395 "name": "Vehicle Log"
396 },
397 {
398 "type": "report",
399 "is_query_report": True,
400 "name": "Vehicle Expenses",
401 "doctype": "Vehicle"
402 },
403 ]
404 },
405 {
406 "label": _("Settings"),
407 "icon": "fa fa-cog",
408 "items": [
409 {
410 "type": "doctype",
411 "name": "HR Settings",
412 },
413 {
414 "type": "doctype",
415 "name": "Daily Work Summary Group"
416 },
417 {
418 "type": "page",
419 "name": "team-updates",
420 "label": _("Team Updates")
421 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530422 ]
423 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530424 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530425 "label": _("Reports"),
426 "icon": "fa fa-list",
427 "items": [
428 {
429 "type": "report",
430 "is_query_report": True,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530431 "name": "Employee Birthday",
432 "doctype": "Employee"
433 },
434 {
435 "type": "report",
436 "is_query_report": True,
437 "name": "Employees working on a holiday",
438 "doctype": "Employee"
439 },
440 {
441 "type": "report",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530442 "is_query_report": True,
443 "name": "Department Analytics",
444 "doctype": "Employee"
445 },
446 ]
447 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530448 ]