[IMP] add hr_users.yml in hr

bzr revid: fka@tinyerp.com-20130221070128-bycahqtp3sqjm06d
This commit is contained in:
Foram Katharotiya (OpenERP) 2013-02-21 12:31:28 +05:30
parent c7a417ea03
commit 794926267e
4 changed files with 41 additions and 0 deletions

View File

@ -62,6 +62,7 @@ You can manage:
],
'demo': ['hr_demo.xml'],
'test': [
'test/hr_users.yml',
'test/open2recruit2close_job.yml',
'test/hr_demo.yml',
],

View File

@ -1,3 +1,8 @@
-
give the access rights of Hr Officer to create employee.
-
!context
uid: 'res_users_hr_officer'
-
!record {model: hr.job, id: job_developer, view: False}:
no_of_employee: 0.0

View File

@ -0,0 +1,30 @@
-
Create a user as 'HR Manager'
-
!record {model: res.users, id: res_users_hr_manager}:
company_id: base.main_company
name: HR manager
login: hrm
password: hrm
groups_id:
- base.group_hr_manager
-
Create a user as 'HR Officer'
-
!record {model: res.users, id: res_users_hr_officer}:
company_id: base.main_company
name: HR Officer
login: hro
password: hro
groups_id:
- base.group_hr_user
-
Create a user as 'Employee'
-
!record {model: res.users, id: res_users_employee}:
company_id: base.main_company
name: Employee
login: emp
password: emp
groups_id:
- base.group_user

View File

@ -1,3 +1,8 @@
-
give the access rights of Hr Officer to the user to test the process of Human Resource Management.
-
!context
uid: 'res_users_hr_officer'
-
In order to test the process of Human Resource Management, I open Job Postion for "Developer".
-