[IMP] stock: remove useless filter

Inventory report list all products in stock and the available quantity.
By default, the list is filtered on "stockable product". This filter is
useless as only stockable product are listed in the report.

This commit is related to task ID 1860538.
This commit is contained in:
Darshil Trivedi
2018-07-04 14:34:39 +02:00
committed by William Henrotin
parent f90cf060a3
commit 436c95baef
+1 -3
View File
@@ -13,8 +13,6 @@
<field name="lot_id" groups="stock.group_production_lot"/>
<field name="owner_id" groups="stock.group_tracking_owner"/>
<group expand='0' string='Filters'>
<filter name="stockable" string="Stockable" domain="[('product_id.type', '=', 'product')]"/>
<separator/>
<filter name='internal_loc' string="Internal Locations" domain="[('location_id.usage','=', 'internal')]"/>
<filter name='transit_loc' string="Transit Locations" domain="[('location_id.usage' ,'=', 'transit')]"/>
<separator/>
@@ -119,7 +117,7 @@
<field name="res_model">stock.quant</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form,pivot,graph</field>
<field name="context">{'search_default_internal_loc': 1, 'search_default_stockable': 1, 'group_by': ['product_id', 'location_id']}</field>
<field name="context">{'search_default_internal_loc': 1, 'group_by': ['product_id', 'location_id']}</field>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
No inventory found