mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
* [IMP] Allow change adults resizing reservation on calendar * [IMP] Board Services * [WIP] Board Service * [IMP] Calendar Buttons & Default Options * [WIP] Availability * [WIP] Availability * [WIP] Availability * [IMP] Calendar buttons
37 lines
1.5 KiB
XML
37 lines
1.5 KiB
XML
<?xml version="1.0" ?>
|
|
<odoo>
|
|
|
|
<record model="ir.ui.view" id="hotel_massive_changes_wizard_view_form">
|
|
<field name="model">hotel.wizard.massive.changes</field>
|
|
<field name="inherit_id" ref="hotel.view_hotel_massive_changes_wizard" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//form/group[last()]" position="after">
|
|
<!-- Availability Fields -->
|
|
<group col="3" colspan="3" attrs="{'invisible':[('section', '!=', 'avail')]}">
|
|
<table class="oe_form_group">
|
|
<thead>
|
|
<th width="12%"></th>
|
|
<th></th>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="oe_form_group_row">
|
|
<td class="oe_form_group_cell oe_form_group_cell_label"><field name="change_max_avail" /> <strong> Max. Avail.</strong></td>
|
|
<td class="oe_form_group_cell" colspan="3"><field name="max_avail" attrs="{'readonly':[('change_max_avail', '=', False)]}" /></td>
|
|
</tr>
|
|
<tr class="oe_form_group_row">
|
|
<td class="oe_form_group_cell oe_form_group_cell_label"><field name="change_quota" /> <strong> Quota</strong></td>
|
|
<td class="oe_form_group_cell" colspan="3"><field name="quota" attrs="{'readonly':[('change_quota', '=', False)]}" /></td>
|
|
</tr>
|
|
<tr class="oe_form_group_row">
|
|
<td class="oe_form_group_cell oe_form_group_cell_label"><field name="change_no_ota" /> <strong> No OTA</strong></td>
|
|
<td class="oe_form_group_cell"><field name="no_ota" attrs="{'readonly':[('change_no_ota', '=', False)]}" /></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|