<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="0">

        <record id="rma_rma_company_rule" model="ir.rule">
            <field name="name">RMA: RMA</field>
            <field name="model_id" ref="model_rma_rma"/>
            <field name="global" eval="True"/>
            <field name="domain_force">['|',
                                            ('company_id', '=', False),
                                            ('company_id', 'child_of', [user.company_id.id]),
                                        ]</field>
        </record>

        <record id="rma_template_company_rule" model="ir.rule">
            <field name="name">RMA: RMA Template</field>
            <field name="model_id" ref="model_rma_template"/>
            <field name="global" eval="True"/>
            <field name="domain_force">['|',
                                            ('company_id', '=', False),
                                            ('company_id', 'child_of', [user.company_id.id]),
                                        ]</field>
        </record>

    </data>
</odoo>
