mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[WIP] retrieve data in calendar by product.pricelist and hotel
This commit is contained in:
@@ -64,6 +64,7 @@
|
||||
</button>
|
||||
|
||||
</div>
|
||||
<field name="hotel_id" invisible="0"/>
|
||||
<h2><field name="name"/></h2>
|
||||
<h1>
|
||||
<field name="partner_id" default_focus="1" placeholder="Guest" attrs="{'invisible':[('reservation_type','in',('out'))]}"/>
|
||||
@@ -237,6 +238,7 @@
|
||||
<field name="amount_total" sum="Total amount"/>
|
||||
<field name="pending_amount" sum="Total debt"/>
|
||||
<field name="invoice_status" />
|
||||
<field name="hotel_id" invisible="0"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -142,6 +142,7 @@
|
||||
</div>
|
||||
<span class="label label-danger" attrs="{'invisible': [('state', 'not in', ('cancelled'))]}">Cancelled Reservation!</span>
|
||||
<span class="label label-warning" attrs="{'invisible': [('overbooking', '=', False)]}">OverBooking!</span>
|
||||
<field name="hotel_id" invisible="0"/>
|
||||
<h1>
|
||||
<field name="room_id" select="1"
|
||||
nolabel="1" options="{'no_create': True,'no_open': True}" placeholder="Room"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
</h1>
|
||||
</div>
|
||||
<group>
|
||||
<field name="hotel_id" invisible="1"/>
|
||||
<field name="hotel_id" invisible="0"/>
|
||||
</group>
|
||||
<div>
|
||||
<separator string="Pricelist Items"/>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<field name="class_id" />
|
||||
</group>
|
||||
<group>
|
||||
<field name="hotel_id" invisible="1"/>
|
||||
<field name="hotel_id" invisible="0"/>
|
||||
<field name="list_price" widget='monetary' options="{'currency_field': 'currency_id', 'field_digits': True}"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<notebook>
|
||||
<page name="information_hotel_room" string="Information">
|
||||
<group colspan="4" col="4">
|
||||
<field name="hotel_id" invisible="1"/>
|
||||
<field name="hotel_id" invisible="0" force_save="1"/>
|
||||
<field name="floor_id" string="Ubication"
|
||||
attrs="{'readonly':[('shared_room_id','!=', False)]}" />
|
||||
<!-- <field name="categ_id" select="1" domain="[('isroomtype','=',True)]" string="Room Type" /> -->
|
||||
|
||||
Reference in New Issue
Block a user