mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms: minor bugfixes
This commit is contained in:
@@ -71,6 +71,20 @@
|
||||
string="Rooms"
|
||||
/>
|
||||
</button>
|
||||
<button
|
||||
type="action"
|
||||
class="oe_stat_button"
|
||||
name="%(open_pms_reservation_form_tree_all)d"
|
||||
icon="fa-window-close"
|
||||
context="{'search_default_folio_id': id, 'default_folio_id': id, 'search_default_cancelled': True}"
|
||||
attrs="{'invisible': [('number_of_cancelled_rooms', '=', 0)]}"
|
||||
>
|
||||
<field
|
||||
name="number_of_cancelled_rooms"
|
||||
widget="statinfo"
|
||||
string="Cancelled Rooms"
|
||||
/>
|
||||
</button>
|
||||
<button
|
||||
type="action"
|
||||
class="oe_stat_button"
|
||||
|
||||
Reference in New Issue
Block a user