mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
55 lines
2.7 KiB
XML
55 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="hotel_node_reservation_wizard_view_form" model="ir.ui.view">
|
|
<field name="name">hotel.node.reservation.wizard</field>
|
|
<field name="model">hotel.node.reservation.wizard</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Reservation Wizard" >
|
|
<sheet>
|
|
<div class="oe_title">
|
|
<h1>
|
|
<field name="node_id" placeholder="Hotel" required="1"
|
|
attrs="{'readonly': [('node_id', '!=', False)]}"/>
|
|
</h1>
|
|
</div>
|
|
<group attrs="{'invisible':[('node_id','=',False)]}">
|
|
<group>
|
|
<field name="checkin" required="1" widget="date" />
|
|
<field name="checkout" required="1" widget="date" />
|
|
</group>
|
|
<group>
|
|
<field name="partner_id"/>
|
|
</group>
|
|
</group>
|
|
<group attrs="{'invisible':[('node_id','=',False)]}">
|
|
<field name="room_type_wizard_ids" nolabel="1">
|
|
<tree editable="bottom" create="false" delete="false">
|
|
<field name="room_type_id" string="Room Type" readonly="1"/>
|
|
<field name="room_type_availability" readonly="1"/>
|
|
<field name="rooms_qty"/>
|
|
<field name="checkin" widget="date" />
|
|
<field name="checkout" widget="date" />
|
|
<!--<field name="discount" attrs="{'readonly': [('can_confirm','=',False)]}"/>-->
|
|
<!--<field name="price" attrs="{'readonly': [('can_confirm','=',False)]}"/>-->
|
|
<!--<field name="amount_reservation" readonly="1" />-->
|
|
<!--<field name="total_price" invisible="1" />-->
|
|
<!--<field name="can_confirm" invisible="1" />-->
|
|
</tree>
|
|
</field>
|
|
</group>
|
|
<!--<field name="confirm" invisible="1"/>-->
|
|
<!--<group colspan="2" class="oe_subtotal_footer">-->
|
|
<!--<field name="total"/>-->
|
|
<!--</group>-->
|
|
<!--<footer>-->
|
|
<!--<button name="create_folio" string="Create Reservations" type="object"-->
|
|
<!--class="oe_highlight" />-->
|
|
<!--</footer>-->
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|