From 2dcd84dc0509829b1d705cb8d959cf21c38f8f0e Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Tue, 14 May 2019 15:22:59 +0200 Subject: [PATCH] [IMP] Views --- stock_request/views/stock_request_views.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/stock_request/views/stock_request_views.xml b/stock_request/views/stock_request_views.xml index e50a88b2a..92401ed52 100644 --- a/stock_request/views/stock_request_views.xml +++ b/stock_request/views/stock_request_views.xml @@ -142,10 +142,13 @@ ir.actions.act_window form tree,form,pivot - {'search_default_current_requests': 1, 'pivot_column_groupby': ['location_id'], 'pivot_row_groupby': ['product_id'], 'pivot_measures': ['product_uom_qty', 'qty_done']} + { + 'search_default_current_requests': 1, + 'pivot_column_groupby': ['location_id'], 'pivot_row_groupby': ['product_id'], 'pivot_measures': ['product_uom_qty', 'qty_done'], + 'search_default_draft': 1, 'search_default_open': 1 + } - {'search_default_draft': 1, 'search_default_open': 1}

Click to add a Stock Request.