blob: bb055df3a30d89788650aae2bcc87e847300de89 [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",
Michelle Alvae666b882019-07-27 10:03:18 +0530165 "name": "Payroll Period",
166 },
167 {
168 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530169 "name": "Salary Component",
170 },
171 {
172 "type": "doctype",
173 "name": "Additional Salary",
174 },
175 {
176 "type": "doctype",
177 "name": "Retention Bonus",
178 "dependencies": ["Employee"]
179 },
180 {
181 "type": "doctype",
182 "name": "Employee Incentive",
183 "dependencies": ["Employee"]
184 },
185 {
186 "type": "report",
187 "is_query_report": True,
188 "name": "Salary Register",
189 "doctype": "Salary Slip"
190 },
191 ]
192 },
193 {
194 "label": _("Employee Tax and Benefits"),
195 "items": [
196 {
197 "type": "doctype",
198 "name": "Employee Tax Exemption Declaration",
199 "dependencies": ["Employee"]
200 },
201 {
202 "type": "doctype",
203 "name": "Employee Tax Exemption Proof Submission",
204 "dependencies": ["Employee"]
205 },
206 {
207 "type": "doctype",
208 "name": "Employee Benefit Application",
209 "dependencies": ["Employee"]
210 },
211 {
212 "type": "doctype",
213 "name": "Employee Benefit Claim",
214 "dependencies": ["Employee"]
215 },
216 ]
217 },
218 {
219 "label": _("Employee Lifecycle"),
220 "items": [
221 {
222 "type": "doctype",
223 "name": "Employee Onboarding",
224 "dependencies": ["Job Applicant"],
225 },
226 {
227 "type": "doctype",
Suraj Shettye0d8cf12019-07-18 15:58:50 +0530228 "name": "Employee Skill Map",
229 "dependencies": ["Employee"],
230 },
231 {
232 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530233 "name": "Employee Promotion",
234 "dependencies": ["Employee"],
235 },
236 {
237 "type": "doctype",
238 "name": "Employee Transfer",
239 "dependencies": ["Employee"],
240 },
241 {
242 "type": "doctype",
243 "name": "Employee Separation",
244 "dependencies": ["Employee"],
245 },
246 {
247 "type": "doctype",
248 "name": "Employee Onboarding Template",
249 "dependencies": ["Employee"]
250 },
251 {
252 "type": "doctype",
253 "name": "Employee Separation Template",
254 "dependencies": ["Employee"]
255 },
256 ]
257 },
258 {
259 "label": _("Recruitment"),
260 "items": [
261 {
262 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530263 "name": "Job Opening",
264 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530265 },
266 {
267 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530268 "name": "Job Applicant",
269 "onboard": 1,
270 },
271 {
272 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530273 "name": "Job Offer",
274 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530275 },
276 {
277 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530278 "name": "Staffing Plan",
279 },
280 ]
281 },
282 {
283 "label": _("Training"),
284 "items": [
285 {
286 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530287 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530288 },
289 {
290 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530291 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530292 },
293 {
294 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530295 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530296 },
297 {
298 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530299 "name": "Training Feedback"
300 },
301 ]
302 },
303 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530304 "label": _("Performance"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530305 "items": [
306 {
307 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530308 "name": "Appraisal",
309 },
310 {
311 "type": "doctype",
312 "name": "Appraisal Template",
313 },
314 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530315 "type": "doctype",
316 "name": "Energy Point Rule",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530317 },
318 {
319 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530320 "name": "Energy Point Log",
Manas Solanki5b34c002018-05-16 18:09:43 +0530321 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530322 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530323 "type": "link",
324 "doctype": "Energy Point Log",
325 "label": _("Energy Point Leaderboard"),
326 "route": "#social/users"
327 },
328 ]
329 },
330 {
331 "label": _("Expense Claims"),
332 "items": [
333 {
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530334 "type": "doctype",
Nabin Hait9d431a82019-04-01 21:06:12 +0530335 "name": "Expense Claim",
336 "dependencies": ["Employee"]
337 },
338 {
339 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530340 "name": "Employee Advance",
341 "dependencies": ["Employee"]
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530342 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530343 ]
344 },
345 {
346 "label": _("Loans"),
347 "items": [
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530348 {
349 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530350 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530351 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530352 },
Nabin Hait948cc632019-04-01 20:58:20 +0530353 {
354 "type": "doctype",
355 "name": "Loan"
Michelle Alva6abb63b2019-07-15 14:00:00 +0530356 },
357 {
358 "type": "doctype",
359 "name": "Loan Type",
360 },
361 ]
362 },
363 {
364 "label": _("Shift Management"),
365 "items": [
366 {
367 "type": "doctype",
368 "name": "Shift Type",
369 },
370 {
371 "type": "doctype",
372 "name": "Shift Request",
373 },
374 {
375 "type": "doctype",
376 "name": "Shift Assignment",
377 },
378 ]
379 },
380 {
381 "label": _("Fleet Management"),
382 "items": [
383 {
384 "type": "doctype",
385 "name": "Vehicle"
386 },
387 {
388 "type": "doctype",
389 "name": "Vehicle Log"
390 },
391 {
392 "type": "report",
393 "is_query_report": True,
394 "name": "Vehicle Expenses",
395 "doctype": "Vehicle"
396 },
397 ]
398 },
399 {
400 "label": _("Settings"),
401 "icon": "fa fa-cog",
402 "items": [
403 {
404 "type": "doctype",
405 "name": "HR Settings",
406 },
407 {
408 "type": "doctype",
409 "name": "Daily Work Summary Group"
410 },
411 {
412 "type": "page",
413 "name": "team-updates",
414 "label": _("Team Updates")
415 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530416 ]
417 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530418 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530419 "label": _("Reports"),
420 "icon": "fa fa-list",
421 "items": [
422 {
423 "type": "report",
424 "is_query_report": True,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530425 "name": "Employee Birthday",
426 "doctype": "Employee"
427 },
428 {
429 "type": "report",
430 "is_query_report": True,
431 "name": "Employees working on a holiday",
432 "doctype": "Employee"
433 },
434 {
435 "type": "report",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530436 "is_query_report": True,
437 "name": "Department Analytics",
438 "doctype": "Employee"
439 },
440 ]
441 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530442 ]