2015-02-24 06:54:53 +00:00
|
|
|
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."),
|
|
|
|
},
|
2015-03-04 10:31:45 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Offer Letter",
|
|
|
|
"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",
|
2016-03-08 12:36:21 +00:00
|
|
|
"name": "Process Payroll",
|
|
|
|
"label": _("Process Payroll"),
|
|
|
|
"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": [
|
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
|
|
|
},
|
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": [
|
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
|
|
|
]
|
|
|
|
},
|
2016-08-08 11:03:51 +00:00
|
|
|
|
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
|
|
|
},
|
2016-11-21 06:40:20 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Daily Work Summary Settings"
|
|
|
|
},
|
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"
|
|
|
|
},
|
2016-01-27 06:41:47 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
2016-07-14 06:42:26 +00:00
|
|
|
"name": "Employees working on a holiday",
|
2016-01-27 06:41:47 +00:00
|
|
|
"doctype": "Employee"
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Employee Information",
|
|
|
|
"doctype": "Employee"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Monthly Salary Register",
|
|
|
|
"doctype": "Salary Slip"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"is_query_report": True,
|
|
|
|
"name": "Monthly Attendance Sheet",
|
|
|
|
"doctype": "Attendance"
|
|
|
|
},
|
2016-01-27 06:41:47 +00:00
|
|
|
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
2015-10-27 11:31:27 +00:00
|
|
|
{
|
|
|
|
"label": _("Help"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-facetime-video",
|
2015-10-27 11:31:27 +00:00
|
|
|
"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"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "help",
|
|
|
|
"label": _("Processing Payroll"),
|
|
|
|
"youtube_id": "apgE-f25Rm0"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|