Files
pms/hotel_channel_connector/wizard/inherited_massive_changes.xml
2019-03-28 18:49:41 +01:00

31 lines
1.0 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="8" colspan="8" attrs="{'invisible':[('section', '!=', 'avail')]}">
<field name="change_max_avail"/>
<field name="max_avail"
attrs="{'readonly':[('change_max_avail', '=', False)],
'invisible':[('change_max_avail', '=', False)]}"/>
<field name="change_quota"/>
<field name="quota"
attrs="{'readonly':[('change_quota', '=', False)],
'invisible':[('change_quota', '=', False)]}"/>
<field name="change_no_ota"/>
<field name="no_ota"
attrs="{'readonly':[('change_no_ota', '=', False)],
'invisible':[('change_no_ota', '=', False)]}"/>
</group>
</xpath>
</field>
</record>
</odoo>