<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <!--
        Override the core rental product action to add a hard domain filter.
        The core action relies on search_default_filter_to_rent which can be
        removed by the user.  Adding a domain ensures only rental products
        are ever shown when accessed from the Rental app.
    -->
    <record id="sale_renting.rental_product_template_action" model="ir.actions.act_window">
        <field name="domain">[('rent_ok', '=', True)]</field>
    </record>

    <!-- Top-level menu under Rental app -->
    <menuitem id="menu_rental_enhancement_root"
              name="Fusion Rental"
              parent="sale_renting.rental_menu_root"
              sequence="30"/>

    <!-- Renewal History submenu -->
    <menuitem id="menu_rental_renewal_log"
              name="Renewal History"
              parent="menu_rental_enhancement_root"
              action="action_rental_renewal_log"
              sequence="10"/>

    <!-- Cancellation Requests submenu -->
    <menuitem id="menu_rental_cancellation_request"
              name="Cancellation Requests"
              parent="menu_rental_enhancement_root"
              action="action_rental_cancellation_request"
              sequence="20"/>

</odoo>
