From 87d186d8d38cc932da37f75ee5fd95e861b4c19d Mon Sep 17 00:00:00 2001 From: Mitali Patel Date: Mon, 9 Jan 2017 18:35:46 +0530 Subject: [PATCH] [IMP] stock: Change the default search for 'Inventory Valuation' Purpose ======= The default group-by in the inventory valuation prevent from doing an easy selection and exporting the data. Specification ============= The group-by in Inventory Valuation shouldn't be hardcoded. It should be a default filter by Internal Locations and groupby product. --- addons/stock/views/stock_quant_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/views/stock_quant_views.xml b/addons/stock/views/stock_quant_views.xml index f2460087b5d..a33039ce7bd 100644 --- a/addons/stock/views/stock_quant_views.xml +++ b/addons/stock/views/stock_quant_views.xml @@ -123,7 +123,7 @@ stock.quant form tree,form,pivot - {'search_default_internal_loc': 1, 'group_by': ['product_id', 'location_id']} + {'search_default_internal_loc': 1, 'search_default_productgroup': 1} This analysis gives you a fast overview on the current stock level of your products and their current inventory value.