<?xml version="1.0" encoding="utf-8" ?>
<!--
    Copyright 2018-2019 Brainbean Apps (https://brainbeanapps.com)
    License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
-->
<odoo noupdate="1">
    <record id="project_role_comp_rule" model="ir.rule">
        <field name="name">Project Role multi-company</field>
        <field name="model_id" ref="model_project_role" />
        <field eval="True" name="global" />
        <field
            name="domain_force"
        >['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
    </record>
    <record id="project_assignment_comp_rule" model="ir.rule">
        <field name="name">Project Assignment multi-company</field>
        <field name="model_id" ref="model_project_assignment" />
        <field eval="True" name="global" />
        <field
            name="domain_force"
        >['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
    </record>
</odoo>
