[IMP] add access rights in hr_recruitment

bzr revid: fka@tinyerp.com-20130221103922-tczeru30rer8ae6e
This commit is contained in:
Foram Katharotiya (OpenERP) 2013-02-21 16:09:22 +05:30
parent d9d8abd8b0
commit 8d7669d0ad
2 changed files with 17 additions and 1 deletions

View File

@ -9,6 +9,9 @@
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
</record>
<record id="base.group_hr_user" model="res.groups">
<field name="implied_ids" eval="[(4, ref('base.group_survey_user'))]"/>
</record>
</data>
</openerp>

View File

@ -1,5 +1,18 @@
-
In Order to test process of Recruitment,
Create a user as 'HR Recruitment Officer'
-
!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,
-
!context
uid: 'res_users_hr_officer'
-
An applicant is interested in the job position. So he sends a resume by email.
-