[IMP] add user group in context of hr & hr_recruitment yml files
bzr revid: fka@tinyerp.com-20130319093308-mjopwflkzi8tasf4
This commit is contained in:
parent
b358bcd430
commit
4d2f294a12
|
@ -1,30 +1,33 @@
|
|||
-
|
||||
Create a user as 'HR Manager'
|
||||
-
|
||||
!context
|
||||
default_groups_ref: [base.group_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'
|
||||
-
|
||||
!context
|
||||
default_groups_ref: [base.group_hr_user]
|
||||
-
|
||||
!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'
|
||||
-
|
||||
!context
|
||||
default_groups_ref: [base.group_user]
|
||||
-
|
||||
!record {model: res.users, id: res_users_employee}:
|
||||
company_id: base.main_company
|
||||
name: Employee
|
||||
login: emp
|
||||
password: emp
|
||||
groups_id:
|
||||
- base.group_user
|
|
@ -1,13 +1,14 @@
|
|||
-
|
||||
Create a user as 'HR Recruitment Officer'
|
||||
-
|
||||
!context
|
||||
default_groups_ref: [base.group_hr_user]
|
||||
-
|
||||
!record {model: res.users, id: res_users_hr_officer}:
|
||||
company_id: base.main_company
|
||||
name: HR Officer
|
||||
login: hrro
|
||||
password: hrro
|
||||
groups_id:
|
||||
- base.group_hr_user
|
||||
-
|
||||
In Order to test process of Recruitment so giving HR officer's rights,
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue