brotherton-erpnext/erpnext/config/hr.py

410 lines
7.5 KiB
Python
Raw Normal View History

from __future__ import unicode_literals
2014-03-03 09:35:28 +00:00
from frappe import _
2014-05-08 06:13:18 +00:00
def get_data():
return [
{
2016-03-08 12:36:21 +00:00
"label": _("Employee and Attendance"),
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
"name": "Employee",
2019-02-07 03:48:24 +00:00
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
2019-01-24 01:45:53 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Attendance Tool",
"hide_count": True,
"onboard": 1,
"dependencies": ["Employee"]
2019-01-24 01:45:53 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Attendance",
"onboard": 1,
"dependencies": ["Employee"]
2019-01-24 01:45:53 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Attendance Request",
"dependencies": ["Employee"]
2019-01-24 01:45:53 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Upload Attendance",
"hide_count": True,
"dependencies": ["Employee"]
2019-01-24 01:45:53 +00:00
},
]
},
{
2019-02-07 03:48:24 +00:00
"label": _("Payroll"),
2019-01-24 01:45:53 +00:00
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Salary Structure",
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Salary Structure Assignment",
"onboard": 1,
"dependencies": ["Salary Structure", "Employee"],
2014-05-08 06:13:18 +00:00
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Salary Slip",
"onboard": 1,
2018-04-14 07:08:55 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Payroll Entry",
"onboard": 1,
2019-01-24 01:45:53 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Benefit Application",
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Benefit Claim",
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Additional Salary",
2014-05-08 06:13:18 +00:00
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Tax Exemption Declaration",
"dependencies": ["Employee"]
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Tax Exemption Proof Submission",
"dependencies": ["Employee"]
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Incentive",
"dependencies": ["Employee"]
2018-04-14 07:08:55 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Retention Bonus",
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
2016-01-27 12:13:57 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Payroll Period",
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Salary Component",
2016-03-08 12:36:21 +00:00
},
2018-04-14 07:08:55 +00:00
]
},
2014-05-08 06:13:18 +00:00
{
"label": _("Settings"),
2019-02-07 03:48:24 +00:00
"icon": "fa fa-cog",
2014-05-08 06:13:18 +00:00
"items": [
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "HR Settings",
2018-04-14 07:08:55 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employment Type",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Branch",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Department",
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Designation",
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Grade",
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Daily Work Summary Group"
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Health Insurance"
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Staffing Plan",
}
]
},
{
"label": _("Leaves"),
"items": [
{
"type": "doctype",
"name": "Leave Application",
"dependencies": ["Employee"]
},
2018-05-15 13:47:31 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Leave Allocation",
"dependencies": ["Employee"]
2018-05-15 13:47:31 +00:00
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Compensatory Leave Request",
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Leave Encashment",
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Leave Period",
"dependencies": ["Employee"]
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name":"Leave Type",
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Leave Policy",
"dependencies": ["Leave Type"]
2014-05-08 06:13:18 +00:00
},
{
2019-02-07 03:48:24 +00:00
"type": "doctype",
"name": "Holiday List",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Leave Block List",
},
2019-02-07 03:48:24 +00:00
]
},
{
"label": _("Recruitment and Training"),
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Job Applicant",
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Job Opening",
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
2017-01-31 06:12:44 +00:00
{
2019-01-24 01:45:53 +00:00
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Job Offer",
"onboard": 1,
2017-01-31 06:12:44 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Training Program"
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Training Event"
},
{
"type": "doctype",
"name": "Training Result"
},
{
"type": "doctype",
"name": "Training Feedback"
},
]
},
2018-04-14 07:24:51 +00:00
{
2019-02-07 03:48:24 +00:00
"label": _("Employee Lifecycle"),
2018-04-14 07:24:51 +00:00
"items": [
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Transfer",
"dependencies": ["Employee"],
2018-04-14 07:24:51 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Promotion",
"dependencies": ["Employee"],
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Separation",
"dependencies": ["Employee"],
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Onboarding",
"dependencies": ["Job Applicant"],
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Separation Template",
"dependencies": ["Employee"]
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"name": "Employee Onboarding Template",
"dependencies": ["Employee"]
}
]
},
{
"label": _("Appraisals, Expense Claims and Loans"),
"items": [
{
"type": "doctype",
"name": "Appraisal",
2019-01-24 01:45:53 +00:00
},
{
"type": "doctype",
2019-02-07 03:48:24 +00:00
"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 03:48:24 +00:00
{
"type": "doctype",
"name": "Loan Type",
},
{
"type": "doctype",
"name": "Loan Application",
"dependencies": ["Employee"]
2019-01-24 01:45:53 +00:00
},
{
"type": "doctype",
"name": "Loan"
}
2018-04-14 07:24:51 +00:00
]
},
{
2019-01-24 01:45:53 +00:00
"label": _("Reports"),
"icon": "fa fa-list",
2018-04-14 07:24:51 +00:00
"items": [
{
2019-01-24 01:45:53 +00:00
"type": "report",
"is_query_report": True,
"name": "Employee Leave Balance",
"doctype": "Leave Application"
2018-04-14 07:24:51 +00:00
},
{
2019-01-24 01:45:53 +00:00
"type": "report",
"is_query_report": True,
"name": "Employee Birthday",
"doctype": "Employee"
2018-04-14 07:24:51 +00:00
},
{
2019-01-24 01:45:53 +00:00
"type": "report",
"is_query_report": True,
"name": "Employees working on a holiday",
"doctype": "Employee"
2018-04-14 07:24:51 +00:00
},
{
2019-01-24 01:45:53 +00:00
"type": "report",
"name": "Employee Information",
"doctype": "Employee"
},
2016-08-08 11:03:51 +00:00
{
2019-01-24 01:45:53 +00:00
"type": "report",
"is_query_report": True,
"name": "Salary Register",
"doctype": "Salary Slip"
2016-08-08 11:03:51 +00:00
},
{
2019-01-24 01:45:53 +00:00
"type": "report",
"is_query_report": True,
"name": "Monthly Attendance Sheet",
"doctype": "Attendance"
2016-08-08 11:03:51 +00:00
},
{
2019-01-24 01:45:53 +00:00
"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 11:03:51 +00:00
},
2016-03-08 12:36:21 +00:00
]
},
2018-04-14 07:08:55 +00:00
{
2019-01-24 01:45:53 +00:00
"label": _("Shifts and Fleet Management"),
2018-04-14 07:08:55 +00:00
"items": [
{
"type": "doctype",
"name": "Shift Type",
},
{
"type": "doctype",
"name": "Shift Request",
},
{
"type": "doctype",
"name": "Shift Assignment",
2019-01-24 01:45:53 +00:00
},
2017-01-09 06:04:58 +00:00
{
"type": "doctype",
"name": "Vehicle"
},
{
"type": "doctype",
"name": "Vehicle Log"
},
]
},
2019-01-24 01:45:53 +00:00
# {
# "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 06:13:18 +00:00
]