[IMP]pms: pms.room name_get can also return amenities default_code

This commit is contained in:
braisab
2021-08-04 20:58:15 +02:00
parent c29d07c983
commit b25c26a7ab
5 changed files with 139 additions and 0 deletions

View File

@@ -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>

View File

@@ -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