blob: 1f597f080dfa1b3820445fe0a107e85ede379e85 [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 },
218 ]
219 },
220 {
221 "label": _("Employee Lifecycle"),
222 "items": [
223 {
224 "type": "doctype",
225 "name": "Employee Onboarding",
226 "dependencies": ["Job Applicant"],
227 },
228 {
229 "type": "doctype",
Suraj Shettye0d8cf12019-07-18 15:58:50 +0530230 "name": "Employee Skill Map",
231 "dependencies": ["Employee"],
232 },
233 {
234 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530235 "name": "Employee Promotion",
236 "dependencies": ["Employee"],
237 },
238 {
239 "type": "doctype",
240 "name": "Employee Transfer",
241 "dependencies": ["Employee"],
242 },
243 {
244 "type": "doctype",
245 "name": "Employee Separation",
246 "dependencies": ["Employee"],
247 },
248 {
249 "type": "doctype",
250 "name": "Employee Onboarding Template",
251 "dependencies": ["Employee"]
252 },
253 {
254 "type": "doctype",
255 "name": "Employee Separation Template",
256 "dependencies": ["Employee"]
257 },
258 ]
259 },
260 {
261 "label": _("Recruitment"),
262 "items": [
263 {
264 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530265 "name": "Job Opening",
266 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530267 },
268 {
269 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530270 "name": "Job Applicant",
271 "onboard": 1,
272 },
273 {
274 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530275 "name": "Job Offer",
276 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530277 },
278 {
279 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530280 "name": "Staffing Plan",
281 },
282 ]
283 },
284 {
285 "label": _("Training"),
286 "items": [
287 {
288 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530289 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530290 },
291 {
292 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530293 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530294 },
295 {
296 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530297 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530298 },
299 {
300 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530301 "name": "Training Feedback"
302 },
303 ]
304 },
305 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530306 "label": _("Performance"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530307 "items": [
308 {
309 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530310 "name": "Appraisal",
311 },
312 {
313 "type": "doctype",
314 "name": "Appraisal Template",
315 },
316 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530317 "type": "doctype",
318 "name": "Energy Point Rule",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530319 },
320 {
321 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530322 "name": "Energy Point Log",
Manas Solanki5b34c002018-05-16 18:09:43 +0530323 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530324 {
Michelle Alva6abb63b2019-07-15 14:00:00 +0530325 "type": "link",
326 "doctype": "Energy Point Log",
327 "label": _("Energy Point Leaderboard"),
328 "route": "#social/users"
329 },
330 ]
331 },
332 {
333 "label": _("Expense Claims"),
334 "items": [
335 {
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530336 "type": "doctype",
Nabin Hait9d431a82019-04-01 21:06:12 +0530337 "name": "Expense Claim",
338 "dependencies": ["Employee"]
339 },
340 {
341 "type": "doctype",
Michelle Alva6abb63b2019-07-15 14:00:00 +0530342 "name": "Employee Advance",
343 "dependencies": ["Employee"]
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530344 },
Michelle Alva6abb63b2019-07-15 14:00:00 +0530345 ]
346 },
347 {
348 "label": _("Loans"),
349 "items": [
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530350 {
351 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530352 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530353 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530354 },
Nabin Hait948cc632019-04-01 20:58:20 +0530355 {
356 "type": "doctype",
357 "name": "Loan"
Michelle Alva6abb63b2019-07-15 14:00:00 +0530358 },
359 {
360 "type": "doctype",
361 "name": "Loan Type",
362 },
363 ]
364 },
365 {
366 "label": _("Shift Management"),
367 "items": [
368 {
369 "type": "doctype",
370 "name": "Shift Type",
371 },
372 {
373 "type": "doctype",
374 "name": "Shift Request",
375 },
376 {
377 "type": "doctype",
378 "name": "Shift Assignment",
379 },
380 ]
381 },
382 {
383 "label": _("Fleet Management"),
384 "items": [
385 {
386 "type": "doctype",
387 "name": "Vehicle"
388 },
389 {
390 "type": "doctype",
391 "name": "Vehicle Log"
392 },
393 {
394 "type": "report",
395 "is_query_report": True,
396 "name": "Vehicle Expenses",
397 "doctype": "Vehicle"
398 },
399 ]
400 },
401 {
402 "label": _("Settings"),
403 "icon": "fa fa-cog",
404 "items": [
405 {
406 "type": "doctype",
407 "name": "HR Settings",
408 },
409 {
410 "type": "doctype",
411 "name": "Daily Work Summary Group"
412 },
413 {
414 "type": "page",
415 "name": "team-updates",
416 "label": _("Team Updates")
417 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530418 ]
419 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530420 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530421 "label": _("Reports"),
422 "icon": "fa fa-list",
423 "items": [
424 {
425 "type": "report",
426 "is_query_report": True,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530427 "name": "Employee Birthday",
428 "doctype": "Employee"
429 },
430 {
431 "type": "report",
432 "is_query_report": True,
433 "name": "Employees working on a holiday",
434 "doctype": "Employee"
435 },
436 {
437 "type": "report",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530438 "is_query_report": True,
439 "name": "Department Analytics",
440 "doctype": "Employee"
441 },
442 ]
443 },
Anand Doshi08ef4672014-05-08 11:43:18 +0530444 ]