From 4d5060d665c90eb30a24c542b8902bf2b5d852eb Mon Sep 17 00:00:00 2001 From: Arnold Moyaux Date: Mon, 27 Jan 2020 12:35:19 +0000 Subject: [PATCH] [MOV] stock: stock.warehouse.orderpoint own views file Create a file for stock.warehouse.orderpoint. It's not linked to warehouse so it should not share the same file. Task: 2161378 --- addons/stock/__manifest__.py | 1 + addons/stock/views/stock_orderpoint_views.xml | 142 ++++++++++++++++++ addons/stock/views/stock_warehouse_views.xml | 140 ----------------- 3 files changed, 143 insertions(+), 140 deletions(-) create mode 100644 addons/stock/views/stock_orderpoint_views.xml diff --git a/addons/stock/__manifest__.py b/addons/stock/__manifest__.py index 9b17dd03f51..ab6e4492ba8 100644 --- a/addons/stock/__manifest__.py +++ b/addons/stock/__manifest__.py @@ -65,6 +65,7 @@ 'views/stock_warehouse_views.xml', 'views/stock_move_line_views.xml', 'views/stock_move_views.xml', + 'views/stock_orderpoint_views.xml', 'views/product_views.xml', 'views/res_config_settings_views.xml', 'views/report_stock_traceability.xml', diff --git a/addons/stock/views/stock_orderpoint_views.xml b/addons/stock/views/stock_orderpoint_views.xml new file mode 100644 index 00000000000..b6f2b8a322a --- /dev/null +++ b/addons/stock/views/stock_orderpoint_views.xml @@ -0,0 +1,142 @@ + + + + + stock.warehouse.orderpoint.kanban + stock.warehouse.orderpoint + + + + + + + + +
+
+
+ +
+ Min qty : +
+
+
+ +
+
+ Max qty : +
+
+
+
+
+
+
+
+ + + stock.warehouse.orderpoint.tree + stock.warehouse.orderpoint + + + + + + + + + + + + + + + + + stock.warehouse.orderpoint.search + stock.warehouse.orderpoint + + + + + + + + + + + + + + + + + + stock.warehouse.orderpoint.form + stock.warehouse.orderpoint + +
+ + + +
+

+ +

+
+ + + + + + + + + + + +
+
+
+
+ + + Reordering Rules + stock.warehouse.orderpoint + ir.actions.act_window + tree,kanban,form + + + +

+ Create a reordering rule +

+ Define a minimum stock rule so that Odoo creates automatically requests for quotations or draft manufacturing orders to resupply your stock. +

+
+
+ + +
diff --git a/addons/stock/views/stock_warehouse_views.xml b/addons/stock/views/stock_warehouse_views.xml index 8cc27320955..4b213ea7d82 100644 --- a/addons/stock/views/stock_warehouse_views.xml +++ b/addons/stock/views/stock_warehouse_views.xml @@ -131,144 +131,4 @@ - - - stock.warehouse.orderpoint.kanban - stock.warehouse.orderpoint - - - - - - - - -
-
-
- -
- Min qty : -
-
-
- -
-
- Max qty : -
-
-
-
-
-
-
-
- - - stock.warehouse.orderpoint.tree - stock.warehouse.orderpoint - - - - - - - - - - - - - - - - - stock.warehouse.orderpoint.search - stock.warehouse.orderpoint - - - - - - - - - - - - - - - - - - stock.warehouse.orderpoint.form - stock.warehouse.orderpoint - -
- - - -
-

- -

-
- - - - - - - - - - - -
-
-
-
- - - Reordering Rules - stock.warehouse.orderpoint - ir.actions.act_window - tree,kanban,form - - - -

- Create a reordering rule -

- Define a minimum stock rule so that Odoo creates automatically requests for quotations or draft manufacturing orders to resupply your stock. -

-
-
- - -