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">
|
||||
<xpath expr="//form/group[last()]" position="after">
|
||||
<!-- Availability Fields -->
|
||||
<group col="3" colspan="3" attrs="{'invisible':[('section', '!=', 'avail')]}">
|
||||
<table class="oe_form_group">
|
||||
<thead>
|
||||
<th width="12%"></th>
|
||||
<th></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="oe_form_group_row">
|
||||
<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>
|
||||
</tr>
|
||||
<tr class="oe_form_group_row">
|
||||
<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 col="8" colspan="8" attrs="{'invisible':[('section', '!=', 'avail')]}">
|
||||
<field name="change_max_avail" string=""/>
|
||||
<field name="max_avail"
|
||||
attrs="{'readonly':[('change_max_avail', '=', False)]}" />
|
||||
|
||||
<field name="change_quota" string=""/>
|
||||
<field name="quota"
|
||||
attrs="{'readonly':[('change_quota', '=', False)]}" />
|
||||
|
||||
<field name="change_no_ota" string=""/>
|
||||
<field name="no_ota"
|
||||
attrs="{'readonly':[('change_no_ota', '=', False)]}" />
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user