<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="1">
        <!-- Multi - Company Rules -->
        <record id="company_resource_calendar_rule" model="ir.rule">
            <field name="name">Company Resouce Calendar Rules Multi-company</field>
            <field name="model_id" ref="model_company_resource_calendar"/>
            <field name="global" eval="True" />
            <field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
        </record>
        <record id="company_resource_calendar_leaves_rule" model="ir.rule">
            <field name="name">Company Resouce Calendar Leaves Rules Line Multi-company</field>
            <field name="model_id" ref="model_company_resource_calendar_leaves"/>
            <field name="global" eval="True" />
            <field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field>
        </record>
    </data>
</odoo>