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

        <record id="om_account_followup_comp_rule" model="ir.rule">
            <field name="name">Account Follow-up multi company rule</field>
            <field name="model_id" ref="model_followup_followup"/>
            <field eval="True" name="global"/>
            <field name="domain_force">['|',('company_id','=',False),
                ('company_id','child_of',[user.company_id.id])]</field>
        </record>

        <record id="om_account_followup_stat_by_partner_comp_rule" model="ir.rule">
            <field name="name">Account Follow-up Statistics by Partner Rule</field>
            <field ref="model_followup_stat_by_partner" name="model_id"/>
            <field eval="True" name="global"/>
            <field name="domain_force">['|',('company_id','=',False),
                ('company_id','child_of',[user.company_id.id])]</field>
        </record>

    </data>
</odoo>
