<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <!-- Hide the Discuss app (chat / "start a meeting" / channels) from the
         POS product experience. -->
    <record id="mail.menu_root_discuss" model="ir.ui.menu">
        <field name="active" eval="False"/>
    </record>

    <!-- Make Point of Sale the first app in the switcher. -->
    <record id="point_of_sale.menu_point_root" model="ir.ui.menu">
        <field name="sequence">1</field>
    </record>

    <!-- Keep the NACEF Fiscal menu right after POS, and restrict it to
         managers — cashiers only sell (PROCTEST step 1: NACEF communication
         features are reserved to the taxpayer, not the agent/cashier). -->
    <record id="nacef_fiscal_core.menu_nacef_root" model="ir.ui.menu">
        <field name="sequence">2</field>
        <field name="groups_id"
               eval="[(6, 0, [ref('point_of_sale.group_pos_manager')])]"/>
    </record>
</odoo>
