mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX]pms: views sintax
This commit is contained in:
@@ -170,16 +170,11 @@
|
|||||||
attrs="{'readonly':[('state','not in',('draft'))]}"
|
attrs="{'readonly':[('state','not in',('draft'))]}"
|
||||||
/>
|
/>
|
||||||
<field name="agency_id" />
|
<field name="agency_id" />
|
||||||
<<<<<<< HEAD
|
|
||||||
<field
|
<field
|
||||||
name="channel_type_id"
|
name="channel_type_id"
|
||||||
attrs="{'readonly':[('agency_id','!=', False)]}"
|
attrs="{'readonly':[('agency_id','!=', False)]}"
|
||||||
/>
|
/>
|
||||||
<field name="internal_comment" />
|
<field name="internal_comment" />
|
||||||
=======
|
|
||||||
<field name="channel_type_id" />
|
|
||||||
|
|
||||||
>>>>>>> [IMP] Improvements
|
|
||||||
</group>
|
</group>
|
||||||
<group
|
<group
|
||||||
class="oe_subtotal_footer oe_right"
|
class="oe_subtotal_footer oe_right"
|
||||||
|
|||||||
@@ -329,14 +329,10 @@
|
|||||||
placeholder="Reservation Notes"
|
placeholder="Reservation Notes"
|
||||||
/>
|
/>
|
||||||
<field name="agency_id" />
|
<field name="agency_id" />
|
||||||
<<<<<<< HEAD
|
|
||||||
<field
|
<field
|
||||||
name="channel_type_id"
|
name="channel_type_id"
|
||||||
attrs="{'readonly':[('agency_id','!=', False)]}"
|
attrs="{'readonly':[('agency_id','!=', False)]}"
|
||||||
/>
|
/>
|
||||||
=======
|
|
||||||
<field name="channel_type_id" />
|
|
||||||
>>>>>>> [IMP] Improvements
|
|
||||||
</group>
|
</group>
|
||||||
<group
|
<group
|
||||||
colspan="2"
|
colspan="2"
|
||||||
@@ -426,10 +422,7 @@
|
|||||||
<field name="date" readonly="1" force_save="1" />
|
<field name="date" readonly="1" force_save="1" />
|
||||||
<field name="price" />
|
<field name="price" />
|
||||||
<field name="discount" />
|
<field name="discount" />
|
||||||
<field
|
<field name="move_line_ids" invisible="1" />
|
||||||
name="move_line_ids"
|
|
||||||
invisible="1"
|
|
||||||
/>
|
|
||||||
<field
|
<field
|
||||||
name="cancel_discount"
|
name="cancel_discount"
|
||||||
attrs="{'column_invisible': [('parent.state','!=','cancelled')]}"
|
attrs="{'column_invisible': [('parent.state','!=','cancelled')]}"
|
||||||
@@ -449,8 +442,8 @@
|
|||||||
decoration-success="is_board_service == True"
|
decoration-success="is_board_service == True"
|
||||||
>
|
>
|
||||||
<field name="is_board_service" invisible="1" />
|
<field name="is_board_service" invisible="1" />
|
||||||
<field name="company_id" invisible="1" />
|
<field name="company_id" invisible="0" />
|
||||||
<field name="pms_property_id" invisible="1" />
|
<field name="pms_property_id" invisible="0" />
|
||||||
<button
|
<button
|
||||||
type="object"
|
type="object"
|
||||||
class="oe_stat_button"
|
class="oe_stat_button"
|
||||||
@@ -490,8 +483,8 @@
|
|||||||
<field name="price_unit" />
|
<field name="price_unit" />
|
||||||
<field name="discount" />
|
<field name="discount" />
|
||||||
<field name="tax_ids" widget="many2many_tags" />
|
<field name="tax_ids" widget="many2many_tags" />
|
||||||
<field name="price_subtotal" optional="show" />
|
<field name="price_subtotal" />
|
||||||
<field name="price_tax" optional="show" />
|
<field name="price_tax" />
|
||||||
<field name="price_total" />
|
<field name="price_total" />
|
||||||
<field name="service_line_ids" invisible="1">
|
<field name="service_line_ids" invisible="1">
|
||||||
<tree string="Days">
|
<tree string="Days">
|
||||||
@@ -609,7 +602,7 @@
|
|||||||
<field name="allowed_room_ids" invisible="1" />
|
<field name="allowed_room_ids" invisible="1" />
|
||||||
<field name="partner_id" />
|
<field name="partner_id" />
|
||||||
<field name="room_type_id" optional="show" />
|
<field name="room_type_id" optional="show" />
|
||||||
<field name="adults" optional="show"/>
|
<field name="adults" optional="show" />
|
||||||
<field name="ratio_checkin_data" widget="progressbar" optional="show" />
|
<field name="ratio_checkin_data" widget="progressbar" optional="show" />
|
||||||
<field name="overbooking" invisible="1" />
|
<field name="overbooking" invisible="1" />
|
||||||
<field name="activity_ids" widget="list_activity" optional="show" />
|
<field name="activity_ids" widget="list_activity" optional="show" />
|
||||||
|
|||||||
Reference in New Issue
Block a user