mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
122 lines
5.6 KiB
XML
122 lines
5.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<record id="inherit_pms_property_views" model="ir.ui.view">
|
|
<field name="model">pms.property</field>
|
|
<field name="inherit_id" ref="pms.pms_property_views_form" />
|
|
<field name="arch" type="xml">
|
|
<xpath
|
|
expr="//page[@name='property_general']//field[@name='street']"
|
|
position="before"
|
|
>
|
|
<group>
|
|
<field
|
|
name="hotel_image_pms_api_rest"
|
|
widget="image"
|
|
class="oe_avatar"
|
|
/>
|
|
</group>
|
|
</xpath>
|
|
<xpath expr="//field[@name='default_departure_hour']" position="after">
|
|
<group string="Planning Colors">
|
|
<field name="color_option_config" />
|
|
<group>
|
|
<field
|
|
name="simple_in_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'simple')]}"
|
|
/>
|
|
<field
|
|
name="simple_out_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'simple')]}"
|
|
/>
|
|
<field
|
|
name="simple_future_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'simple')]}"
|
|
/>
|
|
</group>
|
|
<group colspan="4" col="4">
|
|
<field
|
|
name="pre_reservation_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'advanced')]}"
|
|
/>
|
|
<field
|
|
name="out_reservation_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'advanced')]}"
|
|
/>
|
|
<field
|
|
name="confirmed_reservation_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'advanced')]}"
|
|
/>
|
|
<field
|
|
name="paid_reservation_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'advanced')]}"
|
|
/>
|
|
<field
|
|
name="staff_reservation_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'advanced')]}"
|
|
/>
|
|
<field
|
|
name="on_board_reservation_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'advanced')]}"
|
|
/>
|
|
<field
|
|
name="to_assign_reservation_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'advanced')]}"
|
|
/>
|
|
<field
|
|
name="paid_checkin_reservation_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'advanced')]}"
|
|
/>
|
|
<field
|
|
name="pending_payment_reservation_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'advanced')]}"
|
|
/>
|
|
<field
|
|
name="overpayment_reservation_color"
|
|
widget="color"
|
|
attrs="{'invisible': [('color_option_config', '!=', 'advanced')]}"
|
|
/>
|
|
</group>
|
|
</group>
|
|
</xpath>
|
|
<xpath expr="//field[@name='default_departure_hour']" position="after">
|
|
<group string="OTAs API Configuration">
|
|
<field name="ota_property_settings_ids">
|
|
<tree name="OTAs" editable="bottom">
|
|
<field name="pms_property_id" invisible="1" />
|
|
<field name="agency_id" options="{'no_create': True}" />
|
|
<field name="pms_api_alowed_payments" />
|
|
<field
|
|
name="pms_api_payment_journal_id"
|
|
options="{'no_create': True}"
|
|
/>
|
|
<field name="pms_api_payment_identifier" />
|
|
<field
|
|
name="main_avail_plan_id"
|
|
string="Main Availability Plan"
|
|
/>
|
|
<field name="main_pricelist_id" string="Main Pricelist" />
|
|
<field
|
|
name="excluded_room_type_ids"
|
|
widget="many2many_tags"
|
|
string="Excluded Room Types"
|
|
/>
|
|
</tree>
|
|
</field>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|