[FIX] stock: show total routes label
On product categories, the `total_route_ids` field is shown without label. This is confusing for end users since the same route seems to appear twice. opw-2173783 closes odoo/odoo#44821 X-original-commit: 91bc6464132d4525325cc7a376788b7226e1a723 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
@@ -16,9 +16,7 @@
|
||||
<group name="first" position="after">
|
||||
<group string="Logistics">
|
||||
<field name="route_ids" widget="many2many_tags" groups="stock.group_adv_location"/>
|
||||
<div colspan="2" attrs="{'invisible': [('parent_id', '=', False)]}">
|
||||
<field name="total_route_ids" nolabel="1" widget="many2many_tags"/>
|
||||
</div>
|
||||
<field name="total_route_ids" widget="many2many_tags" groups="stock.group_adv_location" attrs="{'invisible': [('parent_id', '=', False)]}"/>
|
||||
<field name="removal_strategy_id" options="{'no_create': True}"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user