mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[WIP] Improve UI and UX
This commit is contained in:
@@ -19,23 +19,19 @@
|
||||
<group>
|
||||
<field name="name" />
|
||||
<field name="code_type" />
|
||||
<field name="list_price" widget='monetary' options="{'currency_field': 'currency_id', 'field_digits': True}"/>
|
||||
<field name="class_id" />
|
||||
</group>
|
||||
<group>
|
||||
<field name="class_id" />
|
||||
<field name="total_rooms_count"/>
|
||||
<field name="list_price" widget='monetary' options="{'currency_field': 'currency_id', 'field_digits': True}"/>
|
||||
</group>
|
||||
</group>
|
||||
<group colspan="2">
|
||||
<group>
|
||||
<field name="room_ids" widget="many2many"/>
|
||||
<field name="total_rooms_count"/>
|
||||
<field name="room_ids" widget="many2many_tags"/>
|
||||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
<page string="Room Amenities">
|
||||
<separator string=" Room Amenities" />
|
||||
<field name="room_amenity_ids" colspan="4" nolabel="1" />
|
||||
</page>
|
||||
<page string="Board Services">
|
||||
<separator string="Board Services" />
|
||||
<field name="board_service_room_type_ids" colspan="4" nolabel="1"
|
||||
@@ -52,6 +48,10 @@
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
<page string="Room Amenities">
|
||||
<separator string="Room Amenities" />
|
||||
<field name="room_amenity_ids" colspan="4" nolabel="1" />
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
</form>
|
||||
|
||||
@@ -13,12 +13,15 @@
|
||||
confirm="Synchronizing a room type automatically updates its values in Odoo. Do you want to proceed?"/>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//field[@name='room_ids']" position="inside">
|
||||
<field name="capacity" />
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//field[@name='board_service_room_type_ids']/tree" position="inside">
|
||||
<field name="channel_service" />
|
||||
</xpath>
|
||||
|
||||
</field>
|
||||
|
||||
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user