<?xml version="1.0" encoding="utf-8"?> <!-- © 2017 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>) License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> <odoo noupdate="1"> <record id="agreement_rule" model="ir.rule"> <field name="name">Agreement multi-company</field> <field name="model_id" ref="model_agreement"/> <field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field> </record> </odoo>