<?xml version="1.0"?>
<odoo>

    <!-- FORM availability -->
	<record id="virtual_room_availability_view_form" model="ir.ui.view">
        <field name="model">hotel.virtual.room.availability</field>
        <field name="inherit_id" ref="hotel.virtual_room_availability_view_form" />
        <field name="arch" type="xml">
        	<xpath expr="//field[@name='avail']" position="after">
        		<field name="wmax_avail" />
        	</xpath>
        </field>
    </record>

    <!-- TREE restriction -->
    <record id="virtual_room_availability_view_tree" model="ir.ui.view">
      <field name="model">hotel.virtual.room.availability</field>
      <field name="inherit_id" ref="hotel.virtual_room_availability_view_tree" />
      <field name="type">tree</field>
      <field name="arch" type="xml">
        <xpath expr="//field[@name='avail']" position="after">
            <field name="wmax_avail" />
        </xpath>
      </field>
    </record>
</odoo>
