[IMP] stock: remove useless links to uoms

Remove links to UoM form since they are useless and lead to unused
forms.

Part of task-3218314

closes odoo/odoo#119381

Related: odoo/enterprise#40153
Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
This commit is contained in:
clesgow
2023-05-09 21:04:04 +02:00
parent ea14110052
commit 77adfd2cb4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -163,14 +163,14 @@
<label for="product_uom_qty" attrs="{'invisible': [('from_immediate_transfer', '=', True)]}"/>
<div class="o_row" attrs="{'invisible': [('from_immediate_transfer', '=', True)]}">
<span><field name="product_uom_qty" readonly="1" nolabel="1"/></span>
<span><field name="product_uom" readonly="1" nolabel="1"/></span>
<span><field name="product_uom" readonly="1" nolabel="1" options="{'no_open': True}"/></span>
</div>
<label for="quantity_done"/>
<div class="o_row">
<span><field name="quantity_done" readonly="1" nolabel="1"/></span>
<span attrs="{'invisible': ['|', ('state', '=', 'done'), ('from_immediate_transfer', '=', True)]}"> / </span>
<span><field name="reserved_availability" nolabel="1" attrs="{'invisible': ['|', ('state', '=', 'done'), ('from_immediate_transfer', '=', True)]}" /></span>
<span><field name="product_uom" readonly="1" nolabel="1" attrs="{'invisible': [('from_immediate_transfer', '=', True)]}"/></span>
<span><field name="product_uom" readonly="1" nolabel="1" attrs="{'invisible': [('from_immediate_transfer', '=', True)]}" options="{'no_open': True}"/></span>
</div>
<field name="next_serial"
attrs="{'invisible': [('display_assign_serial', '=', False)]}"/>
+1 -1
View File
@@ -13,7 +13,7 @@
<label for="qty_to_reserve"/>
<div class="o_row">
<span><field name="qty_to_reserve" nolabel="1"/></span>
<span><field name="product_uom_id" nolabel="1"/></span>
<span><field name="product_uom_id" nolabel="1" options="{'no_open': True}"/></span>
</div>
</group>
</group>