mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: pms.room name_get can also return amenities default_code
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
string="Amenity Type"
|
||||
domain="['|', ('pms_property_ids', '=', False), ('pms_property_ids', 'in', pms_property_ids)]"
|
||||
/>
|
||||
<field name="is_add_code_room_name" />
|
||||
<!-- <field name="categ_id" select="1"
|
||||
domain="[('isamenitytype','=',True)]" /> -->
|
||||
</group>
|
||||
@@ -92,6 +93,8 @@
|
||||
<tree string="Room Amenities">
|
||||
<field name="name" />
|
||||
<field name="pms_amenity_type_id" select="1" />
|
||||
<field name="default_code" />
|
||||
<field name="is_add_code_room_name" />
|
||||
<!-- <field name="list_price" string="Ty rate" invisible="1" /> -->
|
||||
</tree>
|
||||
</field>
|
||||
|
||||
@@ -85,6 +85,9 @@
|
||||
<!-- <field name="description" colspan="2" string="Description Sales"/> -->
|
||||
</group>
|
||||
</page>
|
||||
<page string="Amenities">
|
||||
<field name="room_amenity_ids" />
|
||||
</page>
|
||||
</notebook>
|
||||
<group>
|
||||
<field
|
||||
|
||||
Reference in New Issue
Block a user