<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <!-- Rename "Invoicing" to "Accounting" -->
    <record id="account.menu_finance" model="ir.ui.menu">
        <field name="name">Accounting</field>
        <field name="groups_id" eval="[(6, 0, [])]"/> <!-- Ensure it is visible -->
    </record>

    <!-- Top-level "Accounting" menu (Controller) - usually hidden in Community -->
    <menuitem id="account.menu_finance_entries"
              name="Accounting"
              parent="account.menu_finance"
              sequence="4"
              groups="account.group_account_user,account.group_account_manager"/>

    <!-- Journal Entries -->
    <menuitem id="menu_action_move_journal_line_form"
              action="account.action_move_journal_line"
              parent="account.menu_finance_entries"
              sequence="1"/>

    <!-- Journal Items -->
    <menuitem id="menu_action_account_moves_all_a"
              action="account.action_account_moves_all_a"
              parent="account.menu_finance_entries"
              sequence="10"/>

    <!-- Reporting: General Ledger -->
    <!-- Note: Standard reports in Community are limited. We enable what we can or point to list views -->
    <menuitem id="menu_action_account_moves_all_a_gl"
            name="General Ledger (Items)"
            action="account.action_account_moves_all_a"
            parent="account.menu_finance_reports"
            sequence="100"/>

</odoo>
