Skip to content

Commit

Permalink
[FIX] stock_account: view priority
Browse files Browse the repository at this point in the history
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 #28634
  • Loading branch information
ndeodoo authored and nim-odoo committed Nov 14, 2018
1 parent 93c6d22 commit 3af06bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/stock_account/views/stock_account_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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'}"/>
Expand Down

0 comments on commit 3af06bf

Please sign in to comment.