brotherton-erpnext/erpnext/config/hr.py

325 lines
6.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",
"description": _("Employee records."),
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Employee Attendance Tool",
"label": _("Employee Attendance Tool"),
2016-06-22 07:28:39 +00:00
"description":_("Mark Attendance for multiple employees"),
2016-03-08 12:36:21 +00:00
"hide_count": True
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Attendance",
"description": _("Attendance record."),
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Upload Attendance",
"description":_("Upload attendance from a .csv file"),
"hide_count": True
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Recruitment"),
"items": [
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Job Applicant",
"description": _("Applicant for a Job."),
},
{
"type": "doctype",
"name": "Job Opening",
"description": _("Opening for a Job."),
},
{
"type": "doctype",
"name": "Job Offer",
"description": _("Offer candidate a Job."),
},
2014-05-08 06:13:18 +00:00
]
},
{
2016-03-08 12:36:21 +00:00
"label": _("Leaves and Holiday"),
2014-05-08 06:13:18 +00:00
"items": [
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Leave Application",
"description": _("Applications for leave."),
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name":"Leave Type",
"description": _("Type of leaves like casual, sick etc."),
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",
"description": _("Holiday master.")
},
{
"type": "doctype",
"name": "Leave Allocation",
"description": _("Allocate leaves for a period.")
2016-01-27 12:13:57 +00:00
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
"name": "Leave Control Panel",
"label": _("Leave Allocation Tool"),
"description":_("Allocate leaves for the year."),
"hide_count": True
},
2016-03-08 12:36:21 +00:00
{
"type": "doctype",
"name": "Leave Block List",
"description": _("Block leave applications by department.")
},
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": [
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Salary Slip",
"description": _("Monthly salary statement."),
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2017-12-07 12:54:42 +00:00
"name": "Payroll Entry",
"label": _("Payroll Entry"),
2016-03-08 12:36:21 +00:00
"description":_("Generate Salary Slips"),
"hide_count": True
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Salary Structure",
"description": _("Salary template master.")
},
{
"type": "doctype",
2016-07-02 06:53:59 +00:00
"name": "Salary Component",
"label": _("Salary Components"),
"description": _("Earnings, Deductions and other Salary components")
2014-05-08 06:13:18 +00:00
},
2016-03-08 12:36:21 +00:00
]
},
{
"label": _("Expense Claims"),
"items": [
{
"type": "doctype",
"name": "Employee Advance",
"description": _("Manage advance amount given to the Employee"),
},
2014-05-08 06:13:18 +00:00
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Expense Claim",
"description": _("Claims for company expense."),
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Expense Claim Type",
"description": _("Types of Expense Claim.")
2014-05-08 06:13:18 +00:00
},
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",
"description": _("Performance appraisal."),
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Appraisal Template",
"description": _("Template for performance appraisals.")
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",
"description": _("Define various loan types")
},
{
"type": "doctype",
"name": "Loan Application",
"description": _("Loan Application")
},
{
"type": "doctype",
"name": "Loan"
},
]
},
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
]
},
2017-01-31 06:12:44 +00:00
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",
"description": _("Settings for HR Module")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Employment Type",
"description": _("Types of employment (permanent, contract, intern etc.).")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
2016-03-08 12:36:21 +00:00
"name": "Branch",
"description": _("Organization branch master.")
},
{
"type": "doctype",
"name": "Department",
"description": _("Organization unit (department) master.")
},
{
"type": "doctype",
"name": "Designation",
"description": _("Employee designation (e.g. CEO, Director etc.).")
2014-05-08 06:13:18 +00:00
},
{
"type": "doctype",
"name": "Daily Work Summary Settings"
},
{
"type": "doctype",
"name": "Health Insurance"
}
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"
}
]
}
2014-05-08 06:13:18 +00:00
]