[FIX] stock_account: view priority

In some case, this view was used to perform a search of product.product.
Before, this modificiation all the search view had the same priority
which means that depending on some situation, the wrong search view was
loaded.

opw-1903611

closes odoo/odoo#28634
This commit is contained in:
Nathan de Pryck
2018-11-14 09:35:26 +00:00
committed by Nicolas Martinelli
parent 93c6d22e01
commit 3af06bf47c
@@ -87,6 +87,7 @@
<record id="view_inventory_valuation_search" model="ir.ui.view">
<field name="name">product.product</field>
<field name="model">product.product</field>
<field name="priority" eval="17"/>
<field name="arch" type="xml">
<search string="Inventory Valuation">
<filter string="Category" name="categ_id" context="{'group_by':'categ_id'}"/>