[FIX] stock: search on complete name
Using the `complete_name` allows searching more easily in case several sub-locations have the same name. Closes #38733 closes odoo/odoo#48846 X-original-commit: 764433669b8b9d675bd9e3ec6668c4b166901534 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
committed by
Nicolas Martinelli
parent
70da147e9b
commit
fa896ff452
@@ -65,7 +65,7 @@
|
||||
<field name="model">stock.location</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Stock Locations">
|
||||
<field name="name" string="Stock Locations"/>
|
||||
<field name="complete_name" string="Stock Locations"/>
|
||||
<filter name="in_location" string="Internal" domain="[('usage', '=', 'internal')]" help="Internal Locations"/>
|
||||
<filter name="customer" string="Customer" domain="[('usage', '=', 'customer')]" help="Customer Locations"/>
|
||||
<filter name="prod_inv_location" string="Production" domain="[('usage', 'in', ['inventory', 'production'])]" help="Production Locations"/>
|
||||
|
||||
Reference in New Issue
Block a user