<?xml version="1.0" encoding="utf-8" ?>
<!--
    Copyright (C) 2022-Today GRAP (http://www.grap.coop)
    @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
    License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<!-- Change groups to fit with EE configuration -->

<!-- Level 2:
    Name:  Show Accounting Features - Readonly -> Read-only
    Parent: Technical -> Accounting
-->

    <record id="account.group_account_readonly" model="res.groups">
        <field name="name">Read-only</field>
        <field name="category_id" ref="base.module_category_accounting_accounting" />
    </record>

<!-- Level 3:
    Name: Show Full Accounting Features -> Bookkeeper
    Parent: Technical -> Accounting
-->
    <record id="account.group_account_user" model="res.groups">
        <field name="name">Bookkeeper</field>
        <field name="category_id" ref="base.module_category_accounting_accounting" />
    </record>

<!-- Level 4:
    Name: Billing Administrator -> Accountant
    Implied Groups : account.group_account_invoice -> account.group_account_user
-->
    <record id="account.group_account_manager" model="res.groups">
        <field name="name">Accountant</field>
        <field
            name="implied_ids"
            eval="[(6, 0, [ref('account.group_account_user')])]"
        />
    </record>

</odoo>
