mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[ADD] Avoid create room from folio form
This commit is contained in:
@@ -395,7 +395,7 @@
|
||||
<span class="label label-warning" attrs="{'invisible': [('overbooking', '=', False)]}">OverBooking!</span>
|
||||
<h2>
|
||||
<field name="room_id" readonly="1" nolabel="1"
|
||||
options="{'no_open': True}" style="margin-right: 30px;" />
|
||||
options="{'no_create': True,'no_open': True}" style="margin-right: 30px;" />
|
||||
<field name="partner_id" readonly="1" options="{'no_open': True}"/>
|
||||
<span class="fa fa-user" style="margin-left:20px;"
|
||||
attrs="{'invisible': [('reservation_type','not in',('normal'))]}"/>
|
||||
@@ -463,7 +463,7 @@
|
||||
'exit_date': checkout,'reservation_id': id, 'hidden_checkin_partner': True, 'edit_checkin_partner': True }"
|
||||
attrs="{'invisible':['|','|', ('state','not in',('confirm','booking')),('checkin_partner_pending_count','=', 0),('parent_reservation','!=',False)]}"
|
||||
/>
|
||||
<field name="room_id" />
|
||||
<field name="room_id" options="{'no_create': True,'no_open': True}" />
|
||||
<button type="action" class="oe_stat_button"
|
||||
icon="fa fa-2x fa-list-ul"
|
||||
name="%(open_hotel_reservation_form_tree_all)d"
|
||||
|
||||
Reference in New Issue
Block a user