Skip to content

Commit

Permalink
[FIX] stock_account: search view for current valuation
Browse files Browse the repository at this point in the history
Before this commit, it was impossible to search anything in the list view
when doing a Inventory Valuation > Current Inventory

After this commit, a few meaningful fields are searchable

OPW 1943676

closes odoo#31356
  • Loading branch information
kebeclibre committed Feb 22, 2019
1 parent 917ad03 commit dd28160
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/stock_account/views/stock_account_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@
<field name="priority" eval="17"/>
<field name="arch" type="xml">
<search string="Inventory Valuation">
<field name="name" string="Product"/>
<field name="categ_id" />
<field name="product_tmpl_id" />
<field name="attribute_value_ids" />
<filter string="Category" name="categ_id" context="{'group_by':'categ_id'}"/>
<separator/>
<filter string="Archived" name="inactive" domain="[('active','=',False)]"/>
Expand Down

0 comments on commit dd28160

Please sign in to comment.