diff --git a/erpnext/config/hr.py b/erpnext/config/hr.py index 85d917bb87..fefa3e9f41 100644 --- a/erpnext/config/hr.py +++ b/erpnext/config/hr.py @@ -9,19 +9,15 @@ def get_data(): { "type": "doctype", "name": "Employee", - "description": _("Employee records."), }, { "type": "doctype", "name": "Employee Attendance Tool", - "label": _("Employee Attendance Tool"), - "description":_("Mark Attendance for multiple employees"), "hide_count": True }, { "type": "doctype", "name": "Attendance", - "description": _("Attendance record."), }, { "type": "doctype", @@ -30,43 +26,13 @@ def get_data(): { "type": "doctype", "name": "Upload Attendance", - "description":_("Upload attendance from a .csv file"), "hide_count": True } ] }, - { - "label": _("Recruitment"), - "items": [ - { - "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."), - }, - ] - }, { "label": _("Leaves and Holiday"), "items": [ - { - "type": "doctype", - "name": "Leave Application", - "description": _("Applications for leave."), - }, - { - "type": "doctype", - "name": "Compensatory Leave Request", - }, { "type": "doctype", "name": "Leave Period", @@ -75,6 +41,18 @@ def get_data(): "type": "doctype", "name": "Leave Policy", }, + { + "type": "doctype", + "name": "Leave Application", + }, + { + "type": "doctype", + "name": "Leave Allocation", + }, + { + "type": "doctype", + "name": "Compensatory Leave Request", + }, { "type": "doctype", "name": "Leave Encashment", @@ -82,60 +60,15 @@ def get_data(): { "type": "doctype", "name":"Leave Type", - "description": _("Type of leaves like casual, sick etc."), }, { "type": "doctype", "name": "Holiday List", - "description": _("Holiday master.") - }, - { - "type": "doctype", - "name": "Leave Allocation", - "description": _("Allocate leaves for a period.") - }, - { - "type": "doctype", - "name": "Leave Control Panel", - "label": _("Leave Allocation Tool"), - "description":_("Allocate leaves for the year."), - "hide_count": True }, { "type": "doctype", "name": "Leave Block List", - "description": _("Block leave applications by department.") }, - - ] - }, - { - "label": _("Employee Lifecycle"), - "items": [ - { - "type": "doctype", - "name": "Employee Transfer", - }, - { - "type": "doctype", - "name": "Employee Promotion", - }, - { - "type": "doctype", - "name": "Employee Lifecycle Activity", - }, - { - "type": "doctype", - "name": "Employee Lifecycle Activity Type", - }, - { - "type": "doctype", - "name": "Employee Lifecycle Process Template", - }, - { - "type": "doctype", - "name": "Employee Lifecycle Process", - } ] }, { @@ -196,26 +129,22 @@ def get_data(): "type": "doctype", "name": "Employee Tax Exemption Category", }, - ] }, { - "label": _("Expense Claims"), + "label": _("Expense Claim"), "items": [ { "type": "doctype", "name": "Employee Advance", - "description": _("Manage advance amount given to the Employee"), }, { "type": "doctype", "name": "Expense Claim", - "description": _("Claims for company expense."), }, { "type": "doctype", "name": "Expense Claim Type", - "description": _("Types of Expense Claim.") }, ] }, @@ -225,12 +154,10 @@ def get_data(): { "type": "doctype", "name": "Appraisal", - "description": _("Performance appraisal."), }, { "type": "doctype", "name": "Appraisal Template", - "description": _("Template for performance appraisals.") }, { "type": "page", @@ -246,12 +173,10 @@ def get_data(): { "type": "doctype", "name": "Loan Type", - "description": _("Define various loan types") }, { "type": "doctype", "name": "Loan Application", - "description": _("Loan Application") }, { "type": "doctype", @@ -259,6 +184,52 @@ def get_data(): }, ] }, + { + "label": _("Employee Lifecycle"), + "items": [ + { + "type": "doctype", + "name": "Employee Transfer", + }, + { + "type": "doctype", + "name": "Employee Promotion", + }, + { + "type": "doctype", + "name": "Employee Lifecycle Activity", + }, + { + "type": "doctype", + "name": "Employee Lifecycle Activity Type", + }, + { + "type": "doctype", + "name": "Employee Lifecycle Process Template", + }, + { + "type": "doctype", + "name": "Employee Lifecycle Process", + } + ] + }, + { + "label": _("Recruitment"), + "items": [ + { + "type": "doctype", + "name": "Job Applicant", + }, + { + "type": "doctype", + "name": "Job Opening", + }, + { + "type": "doctype", + "name": "Job Offer", + }, + ] + }, { "label": _("Training"), "items": [ @@ -321,27 +292,26 @@ def get_data(): { "type": "doctype", "name": "HR Settings", - "description": _("Settings for HR Module") }, { "type": "doctype", "name": "Employment Type", - "description": _("Types of employment (permanent, contract, intern etc.).") }, { "type": "doctype", "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.).") + }, + { + "type": "doctype", + "name": "Employee Grade", }, { "type": "doctype", @@ -354,10 +324,6 @@ def get_data(): { "type": "doctype", "name": "Staffing Plan", - }, - { - "type": "doctype", - "name": "Employee Grade", } ] },