FIX] stock: search by location on history

Searching by location in stock.history failed as field name does not exists
Fixes #4650
This commit is contained in:
Pavel Tysliatski 2015-01-12 18:52:57 +03:00 committed by Martin Trigaux
parent 87e509ad8c
commit 2b59888a24
1 changed files with 1 additions and 1 deletions

View File

@ -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'/>