410 lines
7.5 KiB
Python
Raw Normal View History

from __future__ import unicode_literals
2014-03-03 15:05:28 +05:30
from frappe import _
2014-05-08 11:43:18 +05:30
def get_data():
return [
{
2016-03-08 18:06:21 +05:30
"label": _("Employee and Attendance"),
2014-05-08 11:43:18 +05:30
"items": [
{
"type": "doctype",
"name": "Employee",
2019-02-07 09:18:24 +05:30
"onboard": 1,
2014-05-08 11:43:18 +05:30
},
2019-01-24 07:15:53 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Attendance Tool",
"hide_count": True,
"onboard": 1,
"dependencies": ["Employee"]
2019-01-24 07:15:53 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Attendance",
"onboard": 1,
"dependencies": ["Employee"]
2019-01-24 07:15:53 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Attendance Request",
"dependencies": ["Employee"]
2019-01-24 07:15:53 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Upload Attendance",
"hide_count": True,
"dependencies": ["Employee"]
2019-01-24 07:15:53 +05:30
},
]
},
{
2019-02-07 09:18:24 +05:30
"label": _("Payroll"),
2019-01-24 07:15:53 +05:30
"items": [
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Salary Structure",
"onboard": 1,
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Salary Structure Assignment",
"onboard": 1,
"dependencies": ["Salary Structure", "Employee"],
2014-05-08 11:43:18 +05:30
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Salary Slip",
"onboard": 1,
2018-04-14 12:38:55 +05:30
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Payroll Entry",
"onboard": 1,
2019-01-24 07:15:53 +05:30
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Benefit Application",
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Benefit Claim",
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Additional Salary",
2014-05-08 11:43:18 +05:30
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Tax Exemption Declaration",
"dependencies": ["Employee"]
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Tax Exemption Proof Submission",
"dependencies": ["Employee"]
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Incentive",
"dependencies": ["Employee"]
2018-04-14 12:38:55 +05:30
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Retention Bonus",
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
2016-01-27 17:43:57 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Payroll Period",
2014-05-08 11:43:18 +05:30
},
2016-03-08 18:06:21 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Salary Component",
2016-03-08 18:06:21 +05:30
},
2018-04-14 12:38:55 +05:30
]
},
2014-05-08 11:43:18 +05:30
{
"label": _("Settings"),
2019-02-07 09:18:24 +05:30
"icon": "fa fa-cog",
2014-05-08 11:43:18 +05:30
"items": [
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "HR Settings",
2018-04-14 12:38:55 +05:30
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employment Type",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Branch",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Department",
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Designation",
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Grade",
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Daily Work Summary Group"
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Health Insurance"
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Staffing Plan",
}
]
},
{
"label": _("Leaves"),
"items": [
{
"type": "doctype",
"name": "Leave Application",
"dependencies": ["Employee"]
},
2018-05-15 19:17:31 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Leave Allocation",
"dependencies": ["Employee"]
2018-05-15 19:17:31 +05:30
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Compensatory Leave Request",
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Leave Encashment",
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Leave Period",
"dependencies": ["Employee"]
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name":"Leave Type",
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Leave Policy",
"dependencies": ["Leave Type"]
2014-05-08 11:43:18 +05:30
},
{
2019-02-07 09:18:24 +05:30
"type": "doctype",
"name": "Holiday List",
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Leave Block List",
},
2019-02-07 09:18:24 +05:30
]
},
{
"label": _("Recruitment and Training"),
"items": [
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Job Applicant",
"onboard": 1,
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Job Opening",
"onboard": 1,
2014-05-08 11:43:18 +05:30
},
2017-01-31 11:42:44 +05:30
{
2019-01-24 07:15:53 +05:30
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Job Offer",
"onboard": 1,
2017-01-31 11:42:44 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Training Program"
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Training Event"
},
{
"type": "doctype",
"name": "Training Result"
},
{
"type": "doctype",
"name": "Training Feedback"
},
]
},
2018-04-14 12:54:51 +05:30
{
2019-02-07 09:18:24 +05:30
"label": _("Employee Lifecycle"),
2018-04-14 12:54:51 +05:30
"items": [
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Transfer",
"dependencies": ["Employee"],
2018-04-14 12:54:51 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Promotion",
"dependencies": ["Employee"],
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Separation",
"dependencies": ["Employee"],
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Onboarding",
"dependencies": ["Job Applicant"],
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Separation Template",
"dependencies": ["Employee"]
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Employee Onboarding Template",
"dependencies": ["Employee"]
}
]
},
{
"label": _("Appraisals, Expense Claims and Loans"),
"items": [
{
"type": "doctype",
"name": "Appraisal",
2019-01-24 07:15:53 +05:30
},
{
"type": "doctype",
2019-02-07 09:18:24 +05:30
"name": "Appraisal Template",
},
{
"type": "page",
"name": "team-updates",
"label": _("Team Updates")
},
{
"type": "doctype",
"name": "Employee Advance",
"dependencies": ["Employee"]
},
{
"type": "doctype",
"name": "Expense Claim",
"dependencies": ["Employee"]
},
2019-02-07 09:18:24 +05:30
{
"type": "doctype",
"name": "Loan Type",
},
{
"type": "doctype",
"name": "Loan Application",
"dependencies": ["Employee"]
2019-01-24 07:15:53 +05:30
},
{
"type": "doctype",
"name": "Loan"
}
2018-04-14 12:54:51 +05:30
]
},
{
2019-01-24 07:15:53 +05:30
"label": _("Reports"),
"icon": "fa fa-list",
2018-04-14 12:54:51 +05:30
"items": [
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Employee Leave Balance",
"doctype": "Leave Application"
2018-04-14 12:54:51 +05:30
},
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Employee Birthday",
"doctype": "Employee"
2018-04-14 12:54:51 +05:30
},
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Employees working on a holiday",
"doctype": "Employee"
2018-04-14 12:54:51 +05:30
},
{
2019-01-24 07:15:53 +05:30
"type": "report",
"name": "Employee Information",
"doctype": "Employee"
},
2016-08-08 16:33:51 +05:30
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Salary Register",
"doctype": "Salary Slip"
2016-08-08 16:33:51 +05:30
},
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Monthly Attendance Sheet",
"doctype": "Attendance"
2016-08-08 16:33:51 +05:30
},
{
2019-01-24 07:15:53 +05:30
"type": "report",
"is_query_report": True,
"name": "Vehicle Expenses",
"doctype": "Vehicle"
},
{
"type": "report",
"is_query_report": True,
"name": "Department Analytics",
"doctype": "Employee"
2016-08-08 16:33:51 +05:30
},
2016-03-08 18:06:21 +05:30
]
},
2018-04-14 12:38:55 +05:30
{
2019-01-24 07:15:53 +05:30
"label": _("Shifts and Fleet Management"),
2018-04-14 12:38:55 +05:30
"items": [
{
"type": "doctype",
"name": "Shift Type",
},
{
"type": "doctype",
"name": "Shift Request",
},
{
"type": "doctype",
"name": "Shift Assignment",
2019-01-24 07:15:53 +05:30
},
2017-01-09 11:34:58 +05:30
{
"type": "doctype",
"name": "Vehicle"
},
{
"type": "doctype",
"name": "Vehicle Log"
},
]
},
2019-01-24 07:15:53 +05:30
# {
# "label": _("Help"),
# "icon": "fa fa-facetime-video",
# "items": [
# {
# "type": "help",
# "label": _("Setting up Employees"),
# "youtube_id": "USfIUdZlUhw"
# },
# {
# "type": "help",
# "label": _("Leave Management"),
# "youtube_id": "fc0p_AXebc8"
# },
# {
# "type": "help",
# "label": _("Expense Claims"),
# "youtube_id": "5SZHJF--ZFY"
# }
# ]
# },
2014-05-08 11:43:18 +05:30
]