brotherton-erpnext/erpnext/config/hr.py

413 lines
6.9 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",
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Employee Attendance Tool",
"hide_count": True
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Attendance",
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
"name": "Attendance Request",
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Upload Attendance",
"hide_count": True
2018-04-14 07:08:55 +00:00
}
2016-03-08 12:36:21 +00:00
]
},
{
2018-04-14 07:24:51 +00:00
"label": _("Leaves and Holiday"),
2016-03-08 12:36:21 +00:00
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2018-04-14 07:24:51 +00:00
"name": "Leave Period",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2018-04-14 07:24:51 +00:00
"name": "Leave Policy",
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Leave Application",
2014-05-08 06:13:18 +00:00
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
2018-04-14 07:24:51 +00:00
"name": "Leave Allocation",
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
2018-04-14 07:24:51 +00:00
"name": "Compensatory Leave Request",
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
"name": "Leave Encashment",
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name":"Leave Type",
2014-05-08 06:13:18 +00:00
},
2016-01-27 12:13:57 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Holiday List",
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
{
"type": "doctype",
"name": "Leave Block List",
},
2018-04-14 07:08:55 +00:00
]
},
2014-05-08 06:13:18 +00:00
{
2016-03-08 12:36:21 +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 Assignment",
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Salary Slip",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Payroll Entry"
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Employee Benefit Application",
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
"name": "Employee Benefit Claim",
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
"name": "Additional Salary",
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
"name": "Employee Tax Exemption Declaration",
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
"name": "Employee Tax Exemption Proof Submission",
},
{
"type": "doctype",
"name": "Employee Incentive",
},
2018-05-15 13:47:31 +00:00
{
"type": "doctype",
"name": "Retention Bonus",
},
2018-04-14 07:08:55 +00:00
]
},
{
"label": _("Payroll Setup"),
"items": [
{
"type": "doctype",
"name": "Payroll Period",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-07-02 06:53:59 +00:00
"name": "Salary Component",
2014-05-08 06:13:18 +00:00
},
2018-04-14 07:08:55 +00:00
{
"type": "doctype",
"name": "Salary Structure",
},
{
"type": "doctype",
"name": "Employee Tax Exemption Category",
},
{
"type": "doctype",
"name": "Employee Tax Exemption Sub Category"
}
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Travel and Expense Claim"),
2016-03-08 12:36:21 +00:00
"items": [
{
"type": "doctype",
"name": "Employee Advance",
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Expense Claim",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Expense Claim Type",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Travel Request",
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Appraisals"),
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Appraisal",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Appraisal Template",
2014-05-08 06:13:18 +00:00
},
2017-01-31 06:12:44 +00:00
{
"type": "page",
"name": "team-updates",
"label": _("Team Updates")
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Loan Management"),
"icon": "icon-list",
"items": [
{
"type": "doctype",
"name": "Loan Type",
},
{
"type": "doctype",
"name": "Loan Application",
},
{
"type": "doctype",
"name": "Loan"
},
]
},
2018-04-14 07:24:51 +00:00
{
"label": _("Employee Lifecycle"),
"items": [
{
"type": "doctype",
"name": "Employee Transfer",
},
{
"type": "doctype",
"name": "Employee Promotion",
},
{
"type": "doctype",
"name": "Employee Separation"
},
{
"type": "doctype",
"name": "Employee Onboarding"
2018-04-14 07:24:51 +00:00
}
]
},
{
"label": _("Recruitment"),
"items": [
{
"type": "doctype",
"name": "Job Applicant",
},
{
"type": "doctype",
"name": "Job Opening",
},
{
"type": "doctype",
"name": "Job Offer",
},
]
},
2016-03-08 12:36:21 +00:00
{
2016-08-08 11:03:51 +00:00
"label": _("Training"),
2016-03-08 12:36:21 +00:00
"items": [
{
"type": "doctype",
"name": "Training Program"
},
2016-08-08 11:03:51 +00:00
{
"type": "doctype",
"name": "Training Event"
},
{
"type": "doctype",
"name": "Training Result"
},
{
"type": "doctype",
"name": "Training Feedback"
},
2016-03-08 12:36:21 +00:00
]
},
2018-04-14 07:08:55 +00:00
{
"label": _("Shift Management"),
"items": [
{
"type": "doctype",
"name": "Shift Type",
},
{
"type": "doctype",
"name": "Shift Request",
},
{
"type": "doctype",
"name": "Shift Assignment",
}
]
},
2017-01-09 06:04:58 +00:00
{
"label": _("Fleet Management"),
"items": [
{
"type": "doctype",
"name": "Vehicle"
},
{
"type": "doctype",
"name": "Vehicle Log"
},
]
},
2016-03-08 12:36:21 +00:00
{
"label": _("Setup"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-cog",
2016-03-08 12:36:21 +00:00
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "HR Settings",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Employment Type",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Branch",
},
{
"type": "doctype",
"name": "Department",
},
{
"type": "doctype",
"name": "Designation",
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2018-04-14 07:24:51 +00:00
"name": "Employee Grade",
},
{
"type": "doctype",
2018-04-14 07:24:51 +00:00
"name": "Daily Work Summary Settings"
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
2018-04-14 07:24:51 +00:00
"name": "Employee Health Insurance"
2018-04-14 07:08:55 +00:00
},
{
"type": "doctype",
2018-04-14 07:24:51 +00:00
"name": "Staffing Plan",
}
2014-05-08 06:13:18 +00:00
]
},
{
2016-03-08 12:36:21 +00:00
"label": _("Reports"),
2016-12-07 05:38:48 +00:00
"icon": "fa fa-list",
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "report",
"is_query_report": True,
"name": "Employee Leave Balance",
"doctype": "Leave Application"
},
{
"type": "report",
"is_query_report": True,
"name": "Employee Birthday",
"doctype": "Employee"
},
{
"type": "report",
"is_query_report": True,
"name": "Employees working on a holiday",
"doctype": "Employee"
},
2014-05-08 06:13:18 +00:00
{
"type": "report",
"name": "Employee Information",
"doctype": "Employee"
},
{
"type": "report",
"is_query_report": True,
2017-01-11 14:13:16 +00:00
"name": "Salary Register",
2014-05-08 06:13:18 +00:00
"doctype": "Salary Slip"
},
{
"type": "report",
"is_query_report": True,
"name": "Monthly Attendance Sheet",
"doctype": "Attendance"
},
2017-01-09 06:04:58 +00:00
{
"type": "report",
"is_query_report": True,
"name": "Vehicle Expenses",
"doctype": "Vehicle"
},
2014-05-08 06:13:18 +00:00
]
},
{
"label": _("Help"),
2016-12-07 05:38:48 +00:00
"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"
}
]
},
{
"label": _("Analytics"),
"items": [
{
"type": "report",
"is_query_report": True,
"name": "Department Analytics",
"doctype": "Employee"
},
]
}
2014-05-08 06:13:18 +00:00
]