Skip to content
Snippets Groups Projects
Commit 2b59888a authored by Pavel Tysliatski's avatar Pavel Tysliatski Committed by Martin Trigaux
Browse files

FIX] stock: search by location on history

Searching by location in stock.history failed as field name does not exists
Fixes #4650
parent 87e509ad
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@
<field name="arch" type="xml">
<search string="Stock Value At Date">
<field name="product_id"/>
<field name="location_id" filter_domain="[('name', 'child_of', self)]"/>
<field name="location_id" filter_domain="[('location_id', 'child_of', self)]"/>
<field name="company_id" groups="base.group_multi_company"/>
<group expand="1" string="Group By">
<filter string="Product" icon="terp-accessories-archiver" context="{'group_by':'product_id'}" name='group_by_product'/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment