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

<!--
    Copyright (C) 2014-2015 Akretion (http://www.akretion.com/)
    @author Alexis de Lattre <alexis.delattre@akretion.com>
    The licence is in the file __openerp__.py
-->

<openerp>
<data noupdate="1">

<record id="check_deposit_rule" model="ir.rule">
    <field name="name">Check Deposit multi-company</field>
    <field name="model_id" ref="model_account_check_deposit"/>
    <field name="global" eval="True"/>
    <field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
</record>

</data>
</openerp>
