mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[UPD] Update fields layout
This commit is contained in:
@@ -7,27 +7,18 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//form/group[last()]" position="after">
|
<xpath expr="//form/group[last()]" position="after">
|
||||||
<!-- Availability Fields -->
|
<!-- Availability Fields -->
|
||||||
<group col="3" colspan="3" attrs="{'invisible':[('section', '!=', 'avail')]}">
|
<group col="8" colspan="8" attrs="{'invisible':[('section', '!=', 'avail')]}">
|
||||||
<table class="oe_form_group">
|
<field name="change_max_avail" string=""/>
|
||||||
<thead>
|
<field name="max_avail"
|
||||||
<th width="12%"></th>
|
attrs="{'readonly':[('change_max_avail', '=', False)]}" />
|
||||||
<th></th>
|
|
||||||
</thead>
|
<field name="change_quota" string=""/>
|
||||||
<tbody>
|
<field name="quota"
|
||||||
<tr class="oe_form_group_row">
|
attrs="{'readonly':[('change_quota', '=', False)]}" />
|
||||||
<td class="oe_form_group_cell oe_form_group_cell_label"><field name="change_max_avail" /> <strong> Max. Avail.</strong></td>
|
|
||||||
<td class="oe_form_group_cell" colspan="3"><field name="max_avail" attrs="{'readonly':[('change_max_avail', '=', False)]}" /></td>
|
<field name="change_no_ota" string=""/>
|
||||||
</tr>
|
<field name="no_ota"
|
||||||
<tr class="oe_form_group_row">
|
attrs="{'readonly':[('change_no_ota', '=', False)]}" />
|
||||||
<td class="oe_form_group_cell oe_form_group_cell_label"><field name="change_quota" /> <strong> Quota</strong></td>
|
|
||||||
<td class="oe_form_group_cell" colspan="3"><field name="quota" attrs="{'readonly':[('change_quota', '=', False)]}" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr class="oe_form_group_row">
|
|
||||||
<td class="oe_form_group_cell oe_form_group_cell_label"><field name="change_no_ota" /> <strong> No OTA</strong></td>
|
|
||||||
<td class="oe_form_group_cell"><field name="no_ota" attrs="{'readonly':[('change_no_ota', '=', False)]}" /></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</group>
|
</group>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
|
|||||||
Reference in New Issue
Block a user