32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<odoo>
|
||
|
<data noupdate="1">
|
||
|
|
||
|
<record id="hr_applicant_comp_rule" model="ir.rule">
|
||
|
<field name="name">Applicant multi company rule</field>
|
||
|
<field name="model_id" ref="model_hr_applicant"/>
|
||
|
<field eval="True" name="global"/>
|
||
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="group_hr_recruitment_user" model="res.groups">
|
||
|
<field name="name">Officer</field>
|
||
|
<field name="category_id" ref="base.module_category_hr_recruitment"/>
|
||
|
<field name="implied_ids" eval="[(4, ref('hr.group_hr_user'))]"/>
|
||
|
</record>
|
||
|
|
||
|
<record id="group_hr_recruitment_manager" model="res.groups">
|
||
|
<field name="name">Manager</field>
|
||
|
<field name="category_id" ref="base.module_category_hr_recruitment"/>
|
||
|
<field name="implied_ids" eval="[(4, ref('group_hr_recruitment_user'))]"/>
|
||
|
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||
|
</record>
|
||
|
|
||
|
<record id="base.default_user" model="res.users">
|
||
|
<field name="groups_id" eval="[(4,ref('hr_recruitment.group_hr_recruitment_manager'))]"/>
|
||
|
</record>
|
||
|
|
||
|
|
||
|
</data>
|
||
|
</odoo>
|