471 lines
8.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 [
{
"label": _("Employee"),
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",
"name": "Employment Type",
2019-01-24 07:15:53 +05:30
},
2019-05-03 12:44:35 +05:30
{
"type": "doctype",
"name": "Branch",
2019-05-03 12:44:35 +05:30
},
2019-01-24 07:15:53 +05:30
{
"type": "doctype",
"name": "Department",
2019-01-24 07:15:53 +05:30
},
{
"type": "doctype",
"name": "Designation",
2019-01-24 07:15:53 +05:30
},
{
"type": "doctype",
"name": "Employee Grade",
},
{
"type": "doctype",
"name": "Employee Group",
"dependencies": ["Employee"]
2019-01-24 07:15:53 +05:30
},
{
"type": "doctype",
"name": "Employee Health Insurance"
},
2019-01-24 07:15:53 +05:30
]
},
{
"label": _("Attendance"),
2019-01-24 07:15:53 +05:30
"items": [
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
"name": "Employee Attendance Tool",
"hide_count": True,
2019-02-07 09:18:24 +05:30
"onboard": 1,
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Attendance",
2019-02-07 09:18:24 +05:30
"onboard": 1,
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Attendance Request",
"dependencies": ["Employee"]
2018-04-14 12:38:55 +05:30
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
"name": "Upload Attendance",
"hide_count": True,
"dependencies": ["Employee"]
2019-01-24 07:15:53 +05:30
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
"name": "Employee Checkin",
"hide_count": True,
2019-02-07 09:18:24 +05:30
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
{
"type": "report",
"is_query_report": True,
"name": "Monthly Attendance Sheet",
"doctype": "Attendance"
},
]
},
{
"label": _("Leaves"),
"items": [
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
"name": "Leave Application",
2019-02-07 09:18:24 +05:30
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Leave Allocation",
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Leave Policy",
"dependencies": ["Leave Type"]
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Leave Period",
2019-02-07 09:18:24 +05:30
"dependencies": ["Employee"]
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name":"Leave Type",
2018-04-14 12:38:55 +05:30
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
"name": "Holiday List",
},
{
"type": "doctype",
"name": "Compensatory Leave Request",
2019-02-07 09:18:24 +05:30
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
2016-01-27 17:43:57 +05:30
{
"type": "doctype",
"name": "Leave Encashment",
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
2016-03-08 18:06:21 +05:30
{
"type": "doctype",
"name": "Leave Block List",
},
{
"type": "report",
"is_query_report": True,
"name": "Employee Leave Balance",
"doctype": "Leave Application"
2016-03-08 18:06:21 +05:30
},
2019-07-25 14:35:39 +05:30
{
"type": "report",
"is_query_report": True,
"name": "Leave Ledger Entry",
"doctype": "Leave Ledger Entry"
},
2018-04-14 12:38:55 +05:30
]
},
2014-05-08 11:43:18 +05:30
{
"label": _("Payroll"),
2014-05-08 11:43:18 +05:30
"items": [
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Salary Structure",
"onboard": 1,
2018-04-14 12:38:55 +05:30
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
"name": "Salary Structure Assignment",
"onboard": 1,
"dependencies": ["Salary Structure", "Employee"],
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Payroll Entry",
"onboard": 1,
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Salary Slip",
"onboard": 1,
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Payroll Period",
},
{
"type": "doctype",
"name": "Income Tax Slab",
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Salary Component",
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Additional Salary",
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Retention Bonus",
"dependencies": ["Employee"]
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Employee Incentive",
"dependencies": ["Employee"]
2018-04-14 12:38:55 +05:30
},
{
"type": "report",
"is_query_report": True,
"name": "Salary Register",
"doctype": "Salary Slip"
},
2019-02-07 09:18:24 +05:30
]
},
{
"label": _("Employee Tax and Benefits"),
2019-02-07 09:18:24 +05:30
"items": [
{
"type": "doctype",
"name": "Employee Tax Exemption Declaration",
2019-02-07 09:18:24 +05:30
"dependencies": ["Employee"]
},
2018-05-15 19:17:31 +05:30
{
"type": "doctype",
"name": "Employee Tax Exemption Proof Submission",
2019-02-07 09:18:24 +05:30
"dependencies": ["Employee"]
2018-05-15 19:17:31 +05:30
},
{
"type": "doctype",
"name": "Employee Other Income",
},
2018-04-14 12:38:55 +05:30
{
"type": "doctype",
"name": "Employee Benefit Application",
2019-02-07 09:18:24 +05:30
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Employee Benefit Claim",
2019-02-07 09:18:24 +05:30
"dependencies": ["Employee"]
2014-05-08 11:43:18 +05:30
},
{
"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 12:38:55 +05:30
{
"type": "doctype",
"name": "Employee Onboarding",
"dependencies": ["Job Applicant"],
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Employee Skill Map",
"dependencies": ["Employee"],
},
{
"type": "doctype",
"name": "Employee Promotion",
"dependencies": ["Employee"],
},
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
"name": "Employee Transfer",
"dependencies": ["Employee"],
2014-05-08 11:43:18 +05:30
},
{
2019-02-07 09:18:24 +05:30
"type": "doctype",
"name": "Employee Separation",
"dependencies": ["Employee"],
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Employee Onboarding Template",
"dependencies": ["Employee"]
},
{
"type": "doctype",
"name": "Employee Separation Template",
"dependencies": ["Employee"]
},
2019-02-07 09:18:24 +05:30
]
},
{
"label": _("Recruitment"),
2019-02-07 09:18:24 +05:30
"items": [
2014-05-08 11:43:18 +05:30
{
"type": "doctype",
"name": "Job Opening",
2019-02-07 09:18:24 +05:30
"onboard": 1,
2014-05-08 11:43:18 +05:30
},
{
"type": "doctype",
"name": "Job Applicant",
2019-02-07 09:18:24 +05:30
"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",
"name": "Appointment Letter",
},
{
"type": "doctype",
"name": "Staffing Plan",
},
]
},
{
"label": _("Training"),
"items": [
{
"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
{
"label": _("Performance"),
2018-04-14 12:54:51 +05:30
"items": [
{
"type": "doctype",
"name": "Appraisal",
2018-04-14 12:54:51 +05:30
},
{
"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 09:18:24 +05:30
]
},
{
"label": _("Expense Claims"),
2019-02-07 09:18:24 +05:30
"items": [
{
"type": "doctype",
"name": "Expense Claim",
"dependencies": ["Employee"]
2019-02-07 09:18:24 +05:30
},
{
"type": "doctype",
"name": "Employee Advance",
"dependencies": ["Employee"]
},
]
},
{
"label": _("Loans"),
"items": [
{
"type": "doctype",
"name": "Loan Application",
"dependencies": ["Employee"]
},
2019-02-07 09:18:24 +05:30
{
"type": "doctype",
"name": "Loan"
2019-02-07 09:18:24 +05:30
},
{
"type": "doctype",
"name": "Loan Type",
2019-01-24 07:15:53 +05:30
},
2018-04-14 12:54:51 +05:30
]
},
{
"label": _("Shift Management"),
2018-04-14 12:54:51 +05:30
"items": [
{
"type": "doctype",
"name": "Shift Type",
2018-04-14 12:54:51 +05:30
},
{
"type": "doctype",
"name": "Shift Request",
2018-04-14 12:54:51 +05:30
},
{
"type": "doctype",
"name": "Shift Assignment",
},
]
},
{
"label": _("Fleet Management"),
"items": [
2016-08-08 16:33:51 +05:30
{
"type": "doctype",
"name": "Vehicle"
2016-08-08 16:33:51 +05:30
},
{
"type": "doctype",
"name": "Vehicle Log"
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"
},
2016-03-08 18:06:21 +05:30
]
},
2018-04-14 12:38:55 +05:30
{
"label": _("Settings"),
"icon": "fa fa-cog",
2018-04-14 12:38:55 +05:30
"items": [
{
"type": "doctype",
"name": "HR Settings",
2018-04-14 12:38:55 +05:30
},
{
"type": "doctype",
"name": "Daily Work Summary Group"
2018-04-14 12:38:55 +05:30
},
{
"type": "page",
"name": "team-updates",
"label": _("Team Updates")
2019-01-24 07:15:53 +05:30
},
]
},
{
"label": _("Reports"),
"icon": "fa fa-list",
"items": [
2017-01-09 11:34:58 +05:30
{
"type": "report",
"is_query_report": True,
"name": "Employee Birthday",
"doctype": "Employee"
2017-01-09 11:34:58 +05:30
},
{
"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 11:34:58 +05:30
},
]
},
2014-05-08 11:43:18 +05:30
]