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

    <!-- Form view of hotel room -->
    <record model="ir.ui.view" id="hotel_calendar_view_form">
        <field name="name">hotel.calendar.form</field>
        <field name="model">hotel.calendar</field>
        <field name="arch" type="xml">
            <form string="Hotel Calendar">
                <sheet>
                    <group>
                        <field name="name" />
                        <field name="hotel_id" invisible="0"/>
                    </group>
                    <group>
                        <field name="segmentation_ids" />
                        <field name="location_ids" />
                        <field name="amenity_ids" />
                        <field name="room_type_ids" />
                    </group>
                </sheet>
            </form>
        </field>
    </record>

    <!-- Tree view of hotel room -->
    <record model="ir.ui.view" id="hotel_calendar_view_tree">
        <field name="name">hotel.calendar.tree</field>
        <field name="model">hotel.calendar</field>
        <field name="arch" type="xml">
            <tree string="Hotel Calendar">
                <field name="hotel_id" />
                <field name="name" />
            </tree>
        </field>
    </record>

</odoo>
