<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="view_reservation_holiday_tree" model="ir.ui.view">
        <field name="name">reservation.holiday.tree</field>
        <field name="model">reservation.holiday</field>
        <field name="arch" type="xml">
            <tree editable="bottom" decoration-danger="is_closed">
                <field name="date"/>
                <field name="name"/>
                <field name="is_closed"/>
                <field name="opening_time" widget="float_time" invisible="is_closed"/>
                <field name="closing_time" widget="float_time" invisible="is_closed"/>
            </tree>
        </field>
    </record>

    <record id="action_reservation_holiday" model="ir.actions.act_window">
        <field name="name">Holiday / Special Overrides</field>
        <field name="res_model">reservation.holiday</field>
        <field name="view_mode">tree</field>
        <field name="help" type="html">
            <p class="o_view_nocontent_smiling_face">
                Add holiday or festival overrides.
            </p>
            <p>
                You can mark a specific date as closed or set special opening/closing hours that override the regular schedule.
            </p>
        </field>
    </record>
</odoo>
