Documents order in hr page

This commit is contained in:
Nabin Hait 2018-04-14 12:54:51 +05:30
parent f914bd374d
commit fcdca7f2a0

View File

@ -9,19 +9,15 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Employee", "name": "Employee",
"description": _("Employee records."),
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Employee Attendance Tool", "name": "Employee Attendance Tool",
"label": _("Employee Attendance Tool"),
"description":_("Mark Attendance for multiple employees"),
"hide_count": True "hide_count": True
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Attendance", "name": "Attendance",
"description": _("Attendance record."),
}, },
{ {
"type": "doctype", "type": "doctype",
@ -30,43 +26,13 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Upload Attendance", "name": "Upload Attendance",
"description":_("Upload attendance from a .csv file"),
"hide_count": True "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"), "label": _("Leaves and Holiday"),
"items": [ "items": [
{
"type": "doctype",
"name": "Leave Application",
"description": _("Applications for leave."),
},
{
"type": "doctype",
"name": "Compensatory Leave Request",
},
{ {
"type": "doctype", "type": "doctype",
"name": "Leave Period", "name": "Leave Period",
@ -75,6 +41,18 @@ def get_data():
"type": "doctype", "type": "doctype",
"name": "Leave Policy", "name": "Leave Policy",
}, },
{
"type": "doctype",
"name": "Leave Application",
},
{
"type": "doctype",
"name": "Leave Allocation",
},
{
"type": "doctype",
"name": "Compensatory Leave Request",
},
{ {
"type": "doctype", "type": "doctype",
"name": "Leave Encashment", "name": "Leave Encashment",
@ -82,60 +60,15 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name":"Leave Type", "name":"Leave Type",
"description": _("Type of leaves like casual, sick etc."),
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Holiday List", "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", "type": "doctype",
"name": "Leave Block List", "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", "type": "doctype",
"name": "Employee Tax Exemption Category", "name": "Employee Tax Exemption Category",
}, },
] ]
}, },
{ {
"label": _("Expense Claims"), "label": _("Expense Claim"),
"items": [ "items": [
{ {
"type": "doctype", "type": "doctype",
"name": "Employee Advance", "name": "Employee Advance",
"description": _("Manage advance amount given to the Employee"),
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Expense Claim", "name": "Expense Claim",
"description": _("Claims for company expense."),
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Expense Claim Type", "name": "Expense Claim Type",
"description": _("Types of Expense Claim.")
}, },
] ]
}, },
@ -225,12 +154,10 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Appraisal", "name": "Appraisal",
"description": _("Performance appraisal."),
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Appraisal Template", "name": "Appraisal Template",
"description": _("Template for performance appraisals.")
}, },
{ {
"type": "page", "type": "page",
@ -246,12 +173,10 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Loan Type", "name": "Loan Type",
"description": _("Define various loan types")
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Loan Application", "name": "Loan Application",
"description": _("Loan Application")
}, },
{ {
"type": "doctype", "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"), "label": _("Training"),
"items": [ "items": [
@ -321,27 +292,26 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "HR Settings", "name": "HR Settings",
"description": _("Settings for HR Module")
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Employment Type", "name": "Employment Type",
"description": _("Types of employment (permanent, contract, intern etc.).")
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Branch", "name": "Branch",
"description": _("Organization branch master.")
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Department", "name": "Department",
"description": _("Organization unit (department) master.")
}, },
{ {
"type": "doctype", "type": "doctype",
"name": "Designation", "name": "Designation",
"description": _("Employee designation (e.g. CEO, Director etc.).") },
{
"type": "doctype",
"name": "Employee Grade",
}, },
{ {
"type": "doctype", "type": "doctype",
@ -354,10 +324,6 @@ def get_data():
{ {
"type": "doctype", "type": "doctype",
"name": "Staffing Plan", "name": "Staffing Plan",
},
{
"type": "doctype",
"name": "Employee Grade",
} }
] ]
}, },