<?xml version="1.0"?>
<odoo>
    <record model="ir.rule" id="product_internal_type_comp_rule">
        <field name="name">Product Internal Type multi-company</field>
        <field name="model_id" ref="app_product_sequence.model_product_internal_type"/>
        <field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
        <field name="perm_read" eval="1"/>
        <field name="perm_create" eval="1"/>
        <field name="perm_write" eval="1"/>
        <field name="perm_unlink" eval="1"/>
    </record>
</odoo>
