<?xml version="1.0" encoding="utf-8"?>
<terp>
    <data noupdate="1">
        
        <!-- Department security -->
        <record id="access_hr_contract_period" model="ir.model.access">
            <field name="name">HR Contract Period</field>
            <field model="ir.model" name="model_id" search="[('model', '=', 'hr.contract.wage.type.period')]"/>
            <field eval="True" name="perm_read"/>
            <field eval="False" name="perm_write"/>
            <field eval="False" name="perm_create"/>
            <field eval="False" name="perm_unlink"/>
        </record>
        
        <record id="access_hr_contract_period_manager" model="ir.model.access">
            <field name="name">HR Contract Period</field>
            <field model="ir.model" name="model_id" search="[('model', '=', 'hr.contract.wage.type.period')]"/>
            <field name="group_id" ref="hr.group_hr_manager"/>
            <field eval="True" name="perm_read"/>
            <field eval="True" name="perm_write"/>
            <field eval="True" name="perm_create"/>
            <field eval="True" name="perm_unlink"/>
        </record>
        
        <!-- Wages Type security -->
        <record id="access_hr_wagestype" model="ir.model.access">
            <field name="name">HR Wages Type</field>
            <field model="ir.model" name="model_id" search="[('model', '=', 'hr.contract.wage.type')]"/>
            <field eval="True" name="perm_read"/>
            <field eval="False" name="perm_write"/>
            <field eval="False" name="perm_create"/>
            <field eval="False" name="perm_unlink"/>
        </record>
        
        <record id="access_hr_wagestype_manager" model="ir.model.access">
            <field name="name">HR Wages Type</field>
            <field model="ir.model" name="model_id" search="[('model', '=', 'hr.contract.wage.type')]"/>
            <field name="group_id" ref="hr.group_hr_manager"/>
            <field eval="True" name="perm_read"/>
            <field eval="True" name="perm_write"/>
            <field eval="True" name="perm_create"/>
            <field eval="True" name="perm_unlink"/>
        </record>
        
        <!-- HR Contract security -->
        <record id="access_hr_contract" model="ir.model.access">
            <field name="name">HR Contract</field>
            <field model="ir.model" name="model_id" search="[('model', '=', 'hr.contract')]"/>
            <field eval="True" name="perm_read"/>
            <field eval="False" name="perm_write"/>
            <field eval="False" name="perm_create"/>
            <field eval="False" name="perm_unlink"/>
        </record>
        
        <record id="access_hr_contract_manager" model="ir.model.access">
            <field name="name">HR Contract</field>
            <field model="ir.model" name="model_id" search="[('model', '=', 'hr.contract')]"/>
            <field name="group_id" ref="hr.group_hr_manager"/>
            <field eval="True" name="perm_read"/>
            <field eval="True" name="perm_write"/>
            <field eval="True" name="perm_create"/>
            <field eval="True" name="perm_unlink"/>
        </record>
        
        <!-- Marital Status security -->
        <record id="access_hr_marital_status" model="ir.model.access">
            <field name="name">HR Contract</field>
            <field model="ir.model" name="model_id" search="[('model', '=', 'hr.employee.marital.status')]"/>
            <field eval="True" name="perm_read"/>
            <field eval="False" name="perm_write"/>
            <field eval="False" name="perm_create"/>
            <field eval="False" name="perm_unlink"/>
        </record>
        
        <record id="access_hr_marital_status_manager" model="ir.model.access">
            <field name="name">HR Contract</field>
            <field model="ir.model" name="model_id" search="[('model', '=', 'hr.employee.marital.status')]"/>
            <field name="group_id" ref="hr.group_hr_manager"/>
            <field eval="True" name="perm_read"/>
            <field eval="True" name="perm_write"/>
            <field eval="True" name="perm_create"/>
            <field eval="True" name="perm_unlink"/>
        </record>
    </data>
</terp>