From 182604178c69be8dbd814bd6fddf448b64aa3ae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Voet=20=28ryv=29?= Date: Thu, 20 Feb 2020 11:01:37 +0000 Subject: [PATCH] [REM] stock: remove unused action - Since 096f8c56b77cdf568ee67ad49973a845424e9336 , action with id='act_product_stock_move_open' is unused. - Since f23cc14d136f3c53cd8087d90fbe0a55fca22e52 , action with id='action_receipt_picking_move' is unused. - Since 88b000859faf31bec6883f3e373d6a5a3bf2b2a0 , action with id='product_template_open_quants' is unused. - Since v10, the action with id='stock_picking_to_batch_action' is unused. closes odoo/odoo#45270 Related: odoo/upgrade#840 Signed-off-by: Arnold Moyaux Co-authored-by: Victor Feyens --- addons/stock/views/stock_move_views.xml | 35 +------------------ addons/stock/views/stock_quant_views.xml | 6 ---- .../wizard/stock_picking_to_batch_views.xml | 9 ----- 3 files changed, 1 insertion(+), 49 deletions(-) diff --git a/addons/stock/views/stock_move_views.xml b/addons/stock/views/stock_move_views.xml index 7c971dc434d..3ad6c21c2a9 100644 --- a/addons/stock/views/stock_move_views.xml +++ b/addons/stock/views/stock_move_views.xml @@ -400,14 +400,6 @@ - - - {'search_default_product_id': active_id, 'default_product_id': active_id} - Moves - stock.move - - - Stock Moves stock.move @@ -580,31 +572,6 @@ - - Incoming Products - stock.move - ir.actions.act_window - tree,kanban,form - - - {'product_receive': True, 'search_default_future': True} - -

- Register a product receipt -

- Here you can receive individual products, no matter what - purchase order or picking order they come from. You will find - the list of all products you are waiting for. -

- Once you receive an order, you can filter based on the name of - the vendor or the purchase order reference. Then you can confirm - all products received using the buttons on the right of each line. -

-
-
- - + diff --git a/addons/stock/views/stock_quant_views.xml b/addons/stock/views/stock_quant_views.xml index b8e226a8191..dcc20ae9081 100644 --- a/addons/stock/views/stock_quant_views.xml +++ b/addons/stock/views/stock_quant_views.xml @@ -166,12 +166,6 @@ - - Stock On Hand - {'search_default_internal_loc': 1, 'search_default_productgroup':1, 'search_default_locationgroup':1} - [('product_id.product_tmpl_id', '=', active_id)] - stock.quant - {'search_default_productgroup': 1} [('location_id', 'child_of', active_ids)] diff --git a/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml b/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml index d021f984031..4c160a71458 100644 --- a/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml +++ b/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml @@ -24,15 +24,6 @@ - - - Add to Batch - stock.picking.to.batch - form - - new - -