From 0867c3c09b6696e63dc63189d44692df47f6cebf Mon Sep 17 00:00:00 2001 From: Pierre Masereel Date: Fri, 14 Jul 2017 15:15:01 +0200 Subject: [PATCH] [FIX] stock, stock_account: move, move_lines and quant view Set views and menu items for quant, moves, move_lines and inventory valuation. --- .../views/report_intrastat_views.xml | 2 +- addons/stock/__manifest__.py | 1 + addons/stock/views/procurement_views.xml | 2 +- addons/stock/views/stock_move_line_views.xml | 55 +++++++++++++++++++ addons/stock/views/stock_move_views.xml | 4 +- addons/stock/views/stock_quant_views.xml | 11 ++-- .../wizard/wizard_valuation_history_views.xml | 2 +- 7 files changed, 66 insertions(+), 11 deletions(-) create mode 100644 addons/stock/views/stock_move_line_views.xml diff --git a/addons/report_intrastat/views/report_intrastat_views.xml b/addons/report_intrastat/views/report_intrastat_views.xml index 127cb4dd5fbae..9e26a24844a45 100644 --- a/addons/report_intrastat/views/report_intrastat_views.xml +++ b/addons/report_intrastat/views/report_intrastat_views.xml @@ -157,5 +157,5 @@ + parent="stock.menu_warehouse_report" sequence="120"/> diff --git a/addons/stock/__manifest__.py b/addons/stock/__manifest__.py index d4298f7880f77..41aaa65f4e546 100644 --- a/addons/stock/__manifest__.py +++ b/addons/stock/__manifest__.py @@ -55,6 +55,7 @@ 'views/stock_location_views.xml', 'views/procurement_views.xml', 'views/stock_warehouse_views.xml', + 'views/stock_move_line_views.xml', 'views/stock_move_views.xml', 'views/product_views.xml', 'views/stock_config_settings_views.xml', diff --git a/addons/stock/views/procurement_views.xml b/addons/stock/views/procurement_views.xml index ee5851220e17f..012789e549546 100644 --- a/addons/stock/views/procurement_views.xml +++ b/addons/stock/views/procurement_views.xml @@ -96,5 +96,5 @@ - + diff --git a/addons/stock/views/stock_move_line_views.xml b/addons/stock/views/stock_move_line_views.xml new file mode 100644 index 0000000000000..f23aae541d66b --- /dev/null +++ b/addons/stock/views/stock_move_line_views.xml @@ -0,0 +1,55 @@ + + + + stock.move.line.tree + stock.move.line + + + + + + + + + + + + + + + + stock.move.line.form + stock.move.line + +
+
+ +
+ + + + + + + + + + + + + + +
+
+
+ + Stock Move Lines + stock.move.line + ir.actions.act_window + form + + {} + + + +
diff --git a/addons/stock/views/stock_move_views.xml b/addons/stock/views/stock_move_views.xml index 41716054ccc4c..c9a906b5da372 100644 --- a/addons/stock/views/stock_move_views.xml +++ b/addons/stock/views/stock_move_views.xml @@ -226,7 +226,7 @@ stock.move -
+
@@ -515,6 +515,6 @@ - + diff --git a/addons/stock/views/stock_quant_views.xml b/addons/stock/views/stock_quant_views.xml index 02cd24874629e..50625c85375fe 100644 --- a/addons/stock/views/stock_quant_views.xml +++ b/addons/stock/views/stock_quant_views.xml @@ -6,7 +6,7 @@ stock.quant - + @@ -16,8 +16,8 @@ - - + + @@ -87,11 +87,10 @@ - Inventory Valuation + Inventory stock.quant form tree,form,pivot - {'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. @@ -113,7 +112,7 @@ stock.quant - + stock.quant.package.search diff --git a/addons/stock_account/wizard/wizard_valuation_history_views.xml b/addons/stock_account/wizard/wizard_valuation_history_views.xml index abadf22cd07bb..a1400983319ba 100644 --- a/addons/stock_account/wizard/wizard_valuation_history_views.xml +++ b/addons/stock_account/wizard/wizard_valuation_history_views.xml @@ -27,5 +27,5 @@ new {'default_compute_at_date': 0} - +