brotherton-erpnext/erpnext/config/hr.py

463 lines
8.3 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 [
{
"label": _("Employee"),
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",
"name": "Employment Type",
2019-01-24 01:45:53 +00:00
},
2019-05-03 07:14:35 +00:00
{
"type": "doctype",
"name": "Branch",
2019-05-03 07:14:35 +00:00
},
2019-01-24 01:45:53 +00:00
{
"type": "doctype",
"name": "Department",
2019-01-24 01:45:53 +00:00
},
{
"type": "doctype",
"name": "Designation",
2019-01-24 01:45:53 +00:00
},
{
"type": "doctype",
"name": "Employee Grade",
},
{
"type": "doctype",
"name": "Employee Group",
"dependencies": ["Employee"]
2019-01-24 01:45:53 +00:00
},
{
"type": "doctype",
"name": "Employee Health Insurance"
},
2019-01-24 01:45:53 +00:00
]
},
{
"label": _("Attendance"),
2019-01-24 01:45:53 +00:00
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Employee Attendance Tool",
"hide_count": True,
2019-02-07 03:48:24 +00:00
"onboard": 1,
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Attendance",
2019-02-07 03:48:24 +00:00
"onboard": 1,
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
"name": "Attendance Request",
"dependencies": ["Employee"]
2018-04-14 07:08:55 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Upload Attendance",
"hide_count": True,
"dependencies": ["Employee"]
2019-01-24 01:45:53 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Employee Checkin",
"hide_count": True,
2019-02-07 03:48:24 +00:00
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Monthly Attendance Sheet",
"doctype": "Attendance"
},
]
},
{
"label": _("Leaves"),
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Leave Application",
2019-02-07 03:48:24 +00:00
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Leave Allocation",
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
"name": "Leave Policy",
"dependencies": ["Leave Type"]
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
"name": "Leave Period",
2019-02-07 03:48:24 +00:00
"dependencies": ["Employee"]
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
"name":"Leave Type",
2018-04-14 07:08:55 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Holiday List",
},
{
"type": "doctype",
"name": "Compensatory Leave Request",
2019-02-07 03:48:24 +00:00
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
2016-01-27 12:13:57 +00:00
{
"type": "doctype",
"name": "Leave Encashment",
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
{
"type": "doctype",
"name": "Leave Block List",
},
{
"type": "report",
"is_query_report": True,
"name": "Employee Leave Balance",
"doctype": "Leave Application"
2016-03-08 12:36:21 +00:00
},
2019-07-25 09:05:39 +00:00
{
"type": "report",
"is_query_report": True,
"name": "Leave Ledger Entry",
"doctype": "Leave Ledger Entry"
},
2018-04-14 07:08:55 +00:00
]
},
2014-05-08 06:13:18 +00:00
{
"label": _("Payroll"),
2014-05-08 06:13:18 +00:00
"items": [
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
"name": "Salary Structure",
"onboard": 1,
2018-04-14 07:08:55 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Salary Structure Assignment",
"onboard": 1,
"dependencies": ["Salary Structure", "Employee"],
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Payroll Entry",
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Salary Slip",
"onboard": 1,
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
"name": "Payroll Period",
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
"name": "Salary Component",
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
"name": "Additional Salary",
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
"name": "Retention Bonus",
"dependencies": ["Employee"]
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
"name": "Employee Incentive",
"dependencies": ["Employee"]
2018-04-14 07:08:55 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Salary Register",
"doctype": "Salary Slip"
},
2019-02-07 03:48:24 +00:00
]
},
{
"label": _("Employee Tax and Benefits"),
2019-02-07 03:48:24 +00:00
"items": [
{
"type": "doctype",
"name": "Employee Tax Exemption Declaration",
2019-02-07 03:48:24 +00:00
"dependencies": ["Employee"]
},
2018-05-15 13:47:31 +00:00
{
"type": "doctype",
"name": "Employee Tax Exemption Proof Submission",
2019-02-07 03:48:24 +00:00
"dependencies": ["Employee"]
2018-05-15 13:47:31 +00:00
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
"name": "Employee Benefit Application",
2019-02-07 03:48:24 +00:00
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Employee Benefit Claim",
2019-02-07 03:48:24 +00:00
"dependencies": ["Employee"]
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Employee Tax Exemption Category",
"dependencies": ["Employee"]
},
{
"type": "doctype",
"name": "Employee Tax Exemption Sub Category",
"dependencies": ["Employee"]
},
]
},
{
"label": _("Employee Lifecycle"),
"items": [
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
"name": "Employee Onboarding",
"dependencies": ["Job Applicant"],
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
"name": "Employee Skill Map",
"dependencies": ["Employee"],
},
{
"type": "doctype",
"name": "Employee Promotion",
"dependencies": ["Employee"],
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Employee Transfer",
"dependencies": ["Employee"],
2014-05-08 06:13:18 +00:00
},
{
2019-02-07 03:48:24 +00:00
"type": "doctype",
"name": "Employee Separation",
"dependencies": ["Employee"],
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Employee Onboarding Template",
"dependencies": ["Employee"]
},
{
"type": "doctype",
"name": "Employee Separation Template",
"dependencies": ["Employee"]
},
2019-02-07 03:48:24 +00:00
]
},
{
"label": _("Recruitment"),
2019-02-07 03:48:24 +00:00
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Job Opening",
2019-02-07 03:48:24 +00:00
"onboard": 1,
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Job Applicant",
2019-02-07 03:48:24 +00:00
"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
},
2020-02-27 07:46:53 +00:00
{
"type": "doctype",
"name": "Appointment Letter",
},
{
"type": "doctype",
"name": "Staffing Plan",
},
]
},
{
"label": _("Training"),
"items": [
{
"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
{
"label": _("Performance"),
2018-04-14 07:24:51 +00:00
"items": [
{
"type": "doctype",
"name": "Appraisal",
2018-04-14 07:24:51 +00:00
},
{
"type": "doctype",
"name": "Appraisal Template",
},
{
"type": "doctype",
"name": "Energy Point Rule",
},
{
"type": "doctype",
"name": "Energy Point Log",
},
{
"type": "link",
"doctype": "Energy Point Log",
"label": _("Energy Point Leaderboard"),
"route": "#social/users"
},
2019-02-07 03:48:24 +00:00
]
},
{
"label": _("Expense Claims"),
2019-02-07 03:48:24 +00:00
"items": [
{
"type": "doctype",
"name": "Expense Claim",
"dependencies": ["Employee"]
2019-02-07 03:48:24 +00:00
},
{
"type": "doctype",
"name": "Employee Advance",
"dependencies": ["Employee"]
},
]
},
{
"label": _("Loans"),
"items": [
{
"type": "doctype",
"name": "Loan Application",
"dependencies": ["Employee"]
},
2019-02-07 03:48:24 +00:00
{
"type": "doctype",
"name": "Loan"
2019-02-07 03:48:24 +00:00
},
{
"type": "doctype",
"name": "Loan Type",
2019-01-24 01:45:53 +00:00
},
2018-04-14 07:24:51 +00:00
]
},
{
"label": _("Shift Management"),
2018-04-14 07:24:51 +00:00
"items": [
{
"type": "doctype",
"name": "Shift Type",
2018-04-14 07:24:51 +00:00
},
{
"type": "doctype",
"name": "Shift Request",
2018-04-14 07:24:51 +00:00
},
{
"type": "doctype",
"name": "Shift Assignment",
},
]
},
{
"label": _("Fleet Management"),
"items": [
2016-08-08 11:03:51 +00:00
{
"type": "doctype",
"name": "Vehicle"
2016-08-08 11:03:51 +00:00
},
{
"type": "doctype",
"name": "Vehicle Log"
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"
},
2016-03-08 12:36:21 +00:00
]
},
2018-04-14 07:08:55 +00:00
{
"label": _("Settings"),
"icon": "fa fa-cog",
2018-04-14 07:08:55 +00:00
"items": [
{
"type": "doctype",
"name": "HR Settings",
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
"name": "Daily Work Summary Group"
2018-04-14 07:08:55 +00:00
},
{
"type": "page",
"name": "team-updates",
"label": _("Team Updates")
2019-01-24 01:45:53 +00:00
},
]
},
{
"label": _("Reports"),
"icon": "fa fa-list",
"items": [
2017-01-09 06:04:58 +00:00
{
"type": "report",
"is_query_report": True,
"name": "Employee Birthday",
"doctype": "Employee"
2017-01-09 06:04:58 +00:00
},
{
"type": "report",
"is_query_report": True,
"name": "Employees working on a holiday",
"doctype": "Employee"
},
{
"type": "report",
"is_query_report": True,
"name": "Department Analytics",
"doctype": "Employee"
2017-01-09 06:04:58 +00:00
},
]
},
2014-05-08 06:13:18 +00:00
]