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

    <record model="ir.rule" id="mgmtsystem_hazard_rule">
        <field name="name">mgmtsystem_hazard multi-company</field>
        <field name="model_id" ref="model_mgmtsystem_hazard" />
        <field name="global" eval="True" />
        <field
            name="domain_force"
        >['|',('company_id','=',False),('company_id', 'in', company_ids)]</field>
    </record>

    <record model="ir.rule" id="mgmtsystem_hazard_risk_computation_rule">
        <field name="name">mgmtsystem_hazard_risk_computation multi-company</field>
        <field name="model_id" ref="model_mgmtsystem_hazard_risk_computation" />
        <field name="global" eval="True" />
        <field
            name="domain_force"
        >['|',('company_id','=',False),('company_id', 'in', company_ids)]</field>
    </record>

</odoo>
