From f5a47e4af6df853f59d702b50896db6ac8d418f6 Mon Sep 17 00:00:00 2001 From: mgh-odoo Date: Mon, 24 Dec 2018 10:32:28 +0000 Subject: [PATCH] [IMP] stock: Removed forced groupBy currently, group by is applied forcefully that user cannot change. this commit will remove forced group by and applied as a default group by that user can change. Task: 1910855 closes odoo/odoo#29727 --- addons/stock/views/stock_quant_views.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/addons/stock/views/stock_quant_views.xml b/addons/stock/views/stock_quant_views.xml index 1a4a627449d..2d372a212fb 100644 --- a/addons/stock/views/stock_quant_views.xml +++ b/addons/stock/views/stock_quant_views.xml @@ -21,8 +21,8 @@ - + @@ -117,7 +117,11 @@ stock.quant form tree,form,pivot,graph - {'search_default_internal_loc': 1, 'group_by': ['product_id', 'location_id']} + { + 'search_default_internal_loc': 1, + 'search_default_productgroup': 1, + 'search_default_locationgroup': 1 + }

No inventory found