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

    <record id="action_hotel_calendar" model="ir.actions.act_window">
        <field name="name">Hotel Calendar</field>
        <field name="res_model">hotel.reservation</field>
        <field name="view_mode">pms</field>
        <field name="view_type">form</field>
    </record>

    <record id="action_hotel_calendar_management" model="ir.actions.act_window">
        <field name="name">Hotel Calendar Management</field>
        <field name="res_model">hotel.calendar.management</field>
        <field name="view_mode">mpms</field>
    </record>

    <menuitem id="hotel_calendar_menu" name="Hotel Calendar" sequence="10"
        web_icon="hotel_calendar,static/description/icon_calendar.png"
        action="action_hotel_calendar"  />

    <menuitem id="hotel_calendar_management_menu" name="Hotel Calendar Management" sequence="20"
        web_icon="hotel_calendar,static/description/icon_calendar_configurator.png"
        action="action_hotel_calendar_management" groups="hotel.group_hotel_manager" />

    <menuitem id="hotel_calendar_record_menu" name="Calendars"
        parent="hotel.hotel_configuration_menu" sequence="10"
        groups="hotel.group_hotel_manager"
        action="hotel_calendar_action_form_tree" />

</odoo>
