From aaa3ead6860b58d8ef61a9055a969c0ed8c2ea2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Voet=20=28ryv=29?= Date: Mon, 3 Feb 2020 09:29:25 +0000 Subject: [PATCH] [REF] stock_account: merge/clean views of stock.valuation.layer The views of stock.valuation.layer model were in the wrong file, move it, and merge duplicate search views. Also remove the unused action 'action_stock_inventory_valuation'. task-2123752 --- .../views/stock_account_views.xml | 26 ---------------- .../views/stock_valuation_layer_views.xml | 31 ++++++++++++------- 2 files changed, 20 insertions(+), 37 deletions(-) diff --git a/addons/stock_account/views/stock_account_views.xml b/addons/stock_account/views/stock_account_views.xml index 5f1ac2efc59..62c8cdc5f86 100644 --- a/addons/stock_account/views/stock_account_views.xml +++ b/addons/stock_account/views/stock_account_views.xml @@ -66,31 +66,5 @@ - - Inventory Valuation - stock.valuation.layer - - - - - - - - - - - - - - - - Inventory Valuation - stock.valuation.layer - tree,form - {'search_default_group_by_product_id': 1} - - - - diff --git a/addons/stock_account/views/stock_valuation_layer_views.xml b/addons/stock_account/views/stock_valuation_layer_views.xml index b6ffe68fba9..a89aac82267 100644 --- a/addons/stock_account/views/stock_valuation_layer_views.xml +++ b/addons/stock_account/views/stock_valuation_layer_views.xml @@ -54,17 +54,6 @@ - - stock.valuation.layer.search - stock.valuation.layer - - - - - - - - Stock Valuation ir.actions.act_window @@ -80,6 +69,25 @@ + + Inventory Valuation + stock.valuation.layer + + + + + + + + + + + + + + + + stock.valuation.layer.picking stock.picking @@ -93,4 +101,5 @@ +