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:
@@ -8,12 +8,19 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Restrictions">
|
||||
<sheet>
|
||||
<group>
|
||||
<h1><field name="name"/></h1>
|
||||
</group>
|
||||
<group>
|
||||
<field name="active"/>
|
||||
</group>
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button name="toggle_active" type="object"
|
||||
class="oe_stat_button" icon="fa-archive">
|
||||
<field name="active" widget="boolean_button"
|
||||
options='{"terminology": "archive"}'/>
|
||||
</button>
|
||||
</div>
|
||||
<div class="oe_title">
|
||||
<label for="name" string="Name" />
|
||||
<h1>
|
||||
<field name="name" />
|
||||
</h1>
|
||||
</div>
|
||||
<div>
|
||||
<separator string="Pricelist Items"/>
|
||||
<field name="item_ids" nolabel="1">
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
</group>
|
||||
</group>
|
||||
<group colspan="2">
|
||||
<group>
|
||||
<field name="total_rooms_count"/>
|
||||
<group name="room_ids_group">
|
||||
<field name="room_ids" widget="many2many_tags"/>
|
||||
<field name="total_rooms_count"/>
|
||||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<group>
|
||||
<field name="min_price" class="oe_inline"/>
|
||||
<field name="max_price" class="oe_inline"/>
|
||||
<field name="sync_date" readonly="1"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
@@ -29,7 +30,7 @@
|
||||
<field name="name">channel.hotel.room.type.tree</field>
|
||||
<field name="model">channel.hotel.room.type</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Hotel Channel Virtual Room">
|
||||
<tree string="Hotel Channel Room Type">
|
||||
<field name="backend_id"/>
|
||||
</tree>
|
||||
</field>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
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">
|
||||
<xpath expr="//field[@name='room_ids']" position="before">
|
||||
<field name="capacity" />
|
||||
</xpath>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user