mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: added configuration and color code for reservation segments in the property
This commit is contained in:
@@ -85,6 +85,73 @@
|
||||
<field name="default_arrival_hour" />
|
||||
<field name="default_departure_hour" />
|
||||
</group>
|
||||
<group string="Planning Colors">
|
||||
<field name="color_option_config" />
|
||||
</group>
|
||||
<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')]}"
|
||||
/>
|
||||
</group>
|
||||
<group string="Print in cardex">
|
||||
<field name="cardex_warning" />
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user