[FIX] stock: invisible field for warehouse in route

When the user clicks the checkbox to add a warehouse, the field next
to it is invisible, making it difficult to notice.

This commit highlights the field and adds a placeholder to make it
obvious.

task-3486780

closes odoo/odoo#139528

X-original-commit: a60c94203072fd2343f6ca3a33a2cc1813757bea
Signed-off-by: Bouvy Damien (dbo) <dbo@odoo.com>
This commit is contained in:
mano-odoo
2023-10-26 13:41:17 +00:00
parent 38d35c1ac6
commit 9c877da258
+1 -2
View File
@@ -210,8 +210,7 @@
<div class="o_row">
<field name="warehouse_selectable" class="oe_inline" nolabel="1"/>
<field name="warehouse_domain_ids" invisible="1"/>
<field name="warehouse_ids" widget="many2many_tags" nolabel="1"
invisible="not warehouse_selectable"/>
<field name="warehouse_ids" widget="many2many_tags" class="o_field_highlighted" placeholder="e.g. Central Warehouse" nolabel="1" invisible="not warehouse_selectable"/>
</div>
</group>
</group>