<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <!-- Privilege (replaces module_category in Odoo 19) -->
    <record id="res_groups_privilege_fusion_accounts" model="res.groups.privilege">
        <field name="name">Fusion Accounts</field>
        <field name="sequence">50</field>
    </record>

    <!-- User Group -->
    <record id="group_fusion_accounts_user" model="res.groups">
        <field name="name">User</field>
        <field name="sequence">10</field>
        <field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
        <field name="privilege_id" ref="res_groups_privilege_fusion_accounts"/>
    </record>

    <!-- Manager Group -->
    <record id="group_fusion_accounts_manager" model="res.groups">
        <field name="name">Administrator</field>
        <field name="sequence">20</field>
        <field name="privilege_id" ref="res_groups_privilege_fusion_accounts"/>
        <field name="implied_ids" eval="[(4, ref('group_fusion_accounts_user'))]"/>
        <field name="user_ids" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
    </record>
</odoo>
