<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 ACSONE SA/NV
     License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0). -->
<odoo>
    <record model="ir.model.access" id="res_brand_access_all">
        <field name="name">res.brand access all</field>
        <field name="model_id" ref="model_res_brand" />
        <field name="perm_read" eval="1" />
        <field name="perm_create" eval="0" />
        <field name="perm_write" eval="0" />
        <field name="perm_unlink" eval="0" />
    </record>
    <record model="ir.model.access" id="res_brand_access_manager">
        <field name="name">res.brand manager access</field>
        <field name="model_id" ref="model_res_brand" />
        <field name="group_id" ref="base.group_system" />
        <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>
    <record id="res_brand_multi_company_rule" model="ir.rule">
        <field name="name">Res Brand multi company rule</field>
        <field name="model_id" ref="model_res_brand" />
        <field name="domain_force">
            ['|',('company_id','=',False),('company_id', 'in', company_ids)]
        </field>
    </record>
</odoo>
