blob: 11882b6cd3a3bd181ff2052325d659eedce356cd [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 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +05307 "label": _("Employee and Attendance"),
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": "Employee Attendance Tool",
17 "hide_count": True,
18 "onboard": 1,
19 "dependencies": ["Employee"]
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053020 },
21 {
22 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053023 "name": "Attendance",
24 "onboard": 1,
25 "dependencies": ["Employee"]
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053026 },
27 {
28 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053029 "name": "Attendance Request",
30 "dependencies": ["Employee"]
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053031 },
32 {
33 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053034 "name": "Upload Attendance",
35 "hide_count": True,
36 "dependencies": ["Employee"]
37 },
38 ]
39 },
40 {
41 "label": _("Payroll"),
42 "items": [
43 {
44 "type": "doctype",
45 "name": "Salary Structure",
46 "onboard": 1,
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053047 },
48 {
49 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053050 "name": "Salary Structure Assignment",
51 "onboard": 1,
52 "dependencies": ["Salary Structure", "Employee"],
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +053053 },
54 {
55 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +053056 "name": "Salary Slip",
57 "onboard": 1,
58 },
59 {
60 "type": "doctype",
61 "name": "Payroll Entry",
62 "onboard": 1,
63 },
64 {
65 "type": "doctype",
66 "name": "Employee Benefit Application",
67 "dependencies": ["Employee"]
68 },
69 {
70 "type": "doctype",
71 "name": "Employee Benefit Claim",
72 "dependencies": ["Employee"]
73 },
74 {
75 "type": "doctype",
76 "name": "Additional Salary",
77 },
78 {
79 "type": "doctype",
80 "name": "Employee Tax Exemption Declaration",
81 "dependencies": ["Employee"]
82 },
83 {
84 "type": "doctype",
85 "name": "Employee Tax Exemption Proof Submission",
86 "dependencies": ["Employee"]
87 },
88 {
89 "type": "doctype",
90 "name": "Employee Incentive",
91 "dependencies": ["Employee"]
92 },
93 {
94 "type": "doctype",
95 "name": "Retention Bonus",
96 "dependencies": ["Employee"]
97 },
98 {
99 "type": "doctype",
100 "name": "Payroll Period",
101 },
102 {
103 "type": "doctype",
104 "name": "Salary Component",
105 },
106 ]
107 },
108 {
Prateeksha Singh9d4a1832019-02-11 15:14:50 +0530109 "label": _("Settings"),
Prateeksha Singh34234072019-02-07 09:18:24 +0530110 "icon": "fa fa-cog",
111 "items": [
112 {
113 "type": "doctype",
114 "name": "HR Settings",
115 },
116 {
117 "type": "doctype",
118 "name": "Employment Type",
119 },
120 {
121 "type": "doctype",
122 "name": "Branch",
123 },
124 {
125 "type": "doctype",
126 "name": "Department",
127 },
128 {
129 "type": "doctype",
130 "name": "Designation",
131 },
132 {
133 "type": "doctype",
134 "name": "Employee Grade",
135 },
136 {
137 "type": "doctype",
138 "name": "Daily Work Summary Group"
139 },
140 {
141 "type": "doctype",
142 "name": "Employee Health Insurance"
143 },
144 {
145 "type": "doctype",
146 "name": "Staffing Plan",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530147 }
148 ]
149 },
150
151 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530152 "label": _("Leaves"),
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530153 "items": [
154 {
155 "type": "doctype",
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530156 "name": "Leave Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530157 "dependencies": ["Employee"]
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530158 },
159 {
160 "type": "doctype",
161 "name": "Leave Allocation",
Prateeksha Singh34234072019-02-07 09:18:24 +0530162 "dependencies": ["Employee"]
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530163 },
164 {
165 "type": "doctype",
166 "name": "Compensatory Leave Request",
Prateeksha Singh34234072019-02-07 09:18:24 +0530167 "dependencies": ["Employee"]
Nabin Haitfcdca7f2018-04-14 12:54:51 +0530168 },
169 {
170 "type": "doctype",
Nabin Haitf914bd32018-04-14 12:38:55 +0530171 "name": "Leave Encashment",
Prateeksha Singh34234072019-02-07 09:18:24 +0530172 "dependencies": ["Employee"]
Nabin Haitf914bd32018-04-14 12:38:55 +0530173 },
174 {
175 "type": "doctype",
Rushabh Mehta20fd2dd2018-08-30 09:21:54 +0530176 "name": "Leave Period",
Prateeksha Singh34234072019-02-07 09:18:24 +0530177 "dependencies": ["Employee"]
Rushabh Mehta20fd2dd2018-08-30 09:21:54 +0530178 },
179 {
180 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530181 "name":"Leave Type",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530182 },
183 {
184 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530185 "name": "Leave Policy",
186 "dependencies": ["Leave Type"]
187 },
188 {
189 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530190 "name": "Holiday List",
Anand Doshi08ef4672014-05-08 11:43:18 +0530191 },
192 {
193 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530194 "name": "Leave Block List",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530195 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530196 ]
197 },
198 {
Prateeksha Singh34234072019-02-07 09:18:24 +0530199 "label": _("Recruitment and Training"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530200 "items": [
201 {
202 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530203 "name": "Job Applicant",
204 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530205 },
206 {
207 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530208 "name": "Job Opening",
209 "onboard": 1,
Anand Doshi08ef4672014-05-08 11:43:18 +0530210 },
211 {
212 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530213 "name": "Job Offer",
214 "onboard": 1,
Nabin Haitf914bd32018-04-14 12:38:55 +0530215 },
216 {
217 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530218 "name": "Training Program"
Nabin Haitf914bd32018-04-14 12:38:55 +0530219 },
220 {
221 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530222 "name": "Training Event"
Nabin Haitf914bd32018-04-14 12:38:55 +0530223 },
224 {
225 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530226 "name": "Training Result"
Jamsheer398f1572018-06-04 11:02:53 +0530227 },
228 {
229 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530230 "name": "Training Feedback"
231 },
232 ]
233 },
234 {
235 "label": _("Employee Lifecycle"),
236 "items": [
237 {
238 "type": "doctype",
239 "name": "Employee Transfer",
240 "dependencies": ["Employee"],
Nabin Hait55184482018-04-14 17:04:56 +0530241 },
242 {
243 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530244 "name": "Employee Promotion",
245 "dependencies": ["Employee"],
Nabin Hait55184482018-04-14 17:04:56 +0530246 },
247 {
248 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530249 "name": "Employee Separation",
250 "dependencies": ["Employee"],
Nabin Hait55184482018-04-14 17:04:56 +0530251 },
Ranjith819c3b12018-05-15 19:17:31 +0530252 {
253 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530254 "name": "Employee Onboarding",
255 "dependencies": ["Job Applicant"],
Ranjith819c3b12018-05-15 19:17:31 +0530256 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530257 {
258 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530259 "name": "Employee Separation Template",
260 "dependencies": ["Employee"]
Anand Doshi08ef4672014-05-08 11:43:18 +0530261 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530262 {
263 "type": "doctype",
Prateeksha Singh34234072019-02-07 09:18:24 +0530264 "name": "Employee Onboarding Template",
265 "dependencies": ["Employee"]
266 }
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530267 ]
268 },
269 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530270 "label": _("Appraisals, Expense Claims and Loans"),
Rushabh Mehtad1e1c522016-03-08 18:06:21 +0530271 "items": [
272 {
273 "type": "doctype",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530274 "name": "Appraisal",
275 },
276 {
277 "type": "doctype",
278 "name": "Appraisal Template",
279 },
280 {
281 "type": "page",
282 "name": "team-updates",
283 "label": _("Team Updates")
284 },
285 {
286 "type": "doctype",
Nabin Haitd0249b02017-12-14 13:25:57 +0530287 "name": "Employee Advance",
Prateeksha Singh34234072019-02-07 09:18:24 +0530288 "dependencies": ["Employee"]
Manas Solanki5b34c002018-05-16 18:09:43 +0530289 },
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530290 {
291 "type": "doctype",
292 "name": "Loan Type",
Kanchan Chauhan639eebd2017-02-28 18:01:07 +0530293 },
294 {
295 "type": "doctype",
Shreya Shah4dc453d2018-04-24 12:19:36 +0530296 "name": "Loan Application",
Prateeksha Singh34234072019-02-07 09:18:24 +0530297 "dependencies": ["Employee"]
Neil Trini Lasrado984ee372016-08-08 16:33:51 +0530298 },
Nabin Hait948cc632019-04-01 20:58:20 +0530299 {
300 "type": "doctype",
301 "name": "Loan"
302 }
Anand Doshi08ef4672014-05-08 11:43:18 +0530303 ]
304 },
Nabin Haitf914bd32018-04-14 12:38:55 +0530305 {
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530306 "label": _("Reports"),
307 "icon": "fa fa-list",
308 "items": [
309 {
310 "type": "report",
311 "is_query_report": True,
312 "name": "Employee Leave Balance",
313 "doctype": "Leave Application"
314 },
315 {
316 "type": "report",
317 "is_query_report": True,
318 "name": "Employee Birthday",
319 "doctype": "Employee"
320 },
321 {
322 "type": "report",
323 "is_query_report": True,
324 "name": "Employees working on a holiday",
325 "doctype": "Employee"
326 },
327 {
328 "type": "report",
329 "name": "Employee Information",
330 "doctype": "Employee"
331 },
332 {
333 "type": "report",
334 "is_query_report": True,
335 "name": "Salary Register",
336 "doctype": "Salary Slip"
337 },
338 {
339 "type": "report",
340 "is_query_report": True,
341 "name": "Monthly Attendance Sheet",
342 "doctype": "Attendance"
343 },
344 {
345 "type": "report",
346 "is_query_report": True,
347 "name": "Vehicle Expenses",
348 "doctype": "Vehicle"
349 },
350 {
351 "type": "report",
352 "is_query_report": True,
353 "name": "Department Analytics",
354 "doctype": "Employee"
355 },
356 ]
357 },
358 {
359 "label": _("Shifts and Fleet Management"),
Nabin Haitf914bd32018-04-14 12:38:55 +0530360 "items": [
361 {
362 "type": "doctype",
363 "name": "Shift Type",
364 },
365 {
366 "type": "doctype",
367 "name": "Shift Request",
368 },
369 {
370 "type": "doctype",
371 "name": "Shift Assignment",
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530372 },
Kanchan Chauhanf80c2b92017-01-09 11:34:58 +0530373 {
374 "type": "doctype",
375 "name": "Vehicle"
376 },
377 {
378 "type": "doctype",
379 "name": "Vehicle Log"
380 },
381 ]
382 },
Prateeksha Singh7cd6ebe2019-01-24 07:15:53 +0530383 # {
384 # "label": _("Help"),
385 # "icon": "fa fa-facetime-video",
386 # "items": [
387 # {
388 # "type": "help",
389 # "label": _("Setting up Employees"),
390 # "youtube_id": "USfIUdZlUhw"
391 # },
392 # {
393 # "type": "help",
394 # "label": _("Leave Management"),
395 # "youtube_id": "fc0p_AXebc8"
396 # },
397 # {
398 # "type": "help",
399 # "label": _("Expense Claims"),
400 # "youtube_id": "5SZHJF--ZFY"
401 # }
402 # ]
403 # },
Anand Doshi08ef4672014-05-08 11:43:18 +0530404 ]