added designation to hr-home
diff --git a/hr/doctype/designation/designation.txt b/hr/doctype/designation/designation.txt
index 0f1fd5b..e606a35 100644
--- a/hr/doctype/designation/designation.txt
+++ b/hr/doctype/designation/designation.txt
@@ -2,11 +2,12 @@
{
"creation": "2013-01-10 16:34:13",
"docstatus": 0,
- "modified": "2013-01-22 14:46:41",
+ "modified": "2013-01-29 19:06:00",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
+ "allow_rename": 1,
"autoname": "field:designation_name",
"doctype": "DocType",
"document_type": "Master",
@@ -32,6 +33,7 @@
"permlevel": 0,
"read": 1,
"report": 1,
+ "role": "HR User",
"submit": 0,
"write": 1
},
@@ -58,15 +60,6 @@
"reqd": 1
},
{
- "doctype": "DocPerm",
- "role": "System Manager"
- },
- {
- "doctype": "DocPerm",
- "role": "HR User"
- },
- {
- "doctype": "DocPerm",
- "role": "HR Manager"
+ "doctype": "DocPerm"
}
]
\ No newline at end of file
diff --git a/hr/page/hr_home/hr_home.js b/hr/page/hr_home/hr_home.js
index e26cbd3..fe2c5d4 100644
--- a/hr/page/hr_home/hr_home.js
+++ b/hr/page/hr_home/hr_home.js
@@ -124,6 +124,11 @@
doctype: "Employment Type"
},
{
+ "label": wn._("Designation"),
+ "description": wn._("Employee Designation."),
+ doctype: "Designation"
+ },
+ {
"label": wn._("Appraisal Template"),
"description": wn._("Template for employee performance appraisals."),
doctype: "Appraisal Template"