From 7e79713a162da672d09facba0f5cd19dff511353 Mon Sep 17 00:00:00 2001 From: svs-odoo Date: Fri, 20 May 2022 14:33:33 +0000 Subject: [PATCH] [MOV] stock: picking type views in its own file Part-of: odoo/odoo#91807 --- addons/stock/__manifest__.py | 1 + .../stock/views/stock_picking_type_views.xml | 249 ++++++++++++++++++ addons/stock/views/stock_picking_views.xml | 247 ----------------- 3 files changed, 250 insertions(+), 247 deletions(-) create mode 100644 addons/stock/views/stock_picking_type_views.xml diff --git a/addons/stock/__manifest__.py b/addons/stock/__manifest__.py index e5082210d25..6e895a32700 100644 --- a/addons/stock/__manifest__.py +++ b/addons/stock/__manifest__.py @@ -75,6 +75,7 @@ 'views/stock_warehouse_views.xml', 'views/stock_move_line_views.xml', 'views/stock_picking_views.xml', + 'views/stock_picking_type_views.xml', 'views/stock_move_views.xml', 'views/product_views.xml', 'views/stock_location_views.xml', diff --git a/addons/stock/views/stock_picking_type_views.xml b/addons/stock/views/stock_picking_type_views.xml new file mode 100644 index 00000000000..579a52fc828 --- /dev/null +++ b/addons/stock/views/stock_picking_type_views.xml @@ -0,0 +1,249 @@ + + + + Operations Types + stock.picking.type + ir.actions.act_window + tree,form + +

+ No transfer found. Let's create one! +

+ Transfers allow you to move products from one location to another. +

+
+
+ + + Inventory Overview + stock.picking.type + ir.actions.act_window + kanban,form + +

+ Create a new operation type +

+ The operation type system allows you to assign each stock + operation a specific type which will alter its views accordingly. + On the operation type you could e.g. specify if packing is needed by default, + if it should show the customer. +

+
+
+ + + + + + + stock.picking.type.filter + stock.picking.type + + + + + + + + + + + + + + + Operation types + stock.picking.type + + + + + + + + + + + + + + Operation Types + stock.picking.type + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + stock.picking.type.kanban + stock.picking.type + + + + + + + + + + + +
+
+
+
+
+ + + +
+
+ +
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+ + + +
+ +
+ + +
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/stock/views/stock_picking_views.xml b/addons/stock/views/stock_picking_views.xml index 16403e30bad..6a030327398 100644 --- a/addons/stock/views/stock_picking_views.xml +++ b/addons/stock/views/stock_picking_views.xml @@ -1,128 +1,5 @@ - - stock.picking.type.filter - stock.picking.type - - - - - - - - - - - - - - Operation types - stock.picking.type - - - - - - - - - - - - - Operation Types - stock.picking.type - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - - Inventory Overview - stock.picking.type - ir.actions.act_window - kanban,form - -

- Create a new operation type -

- The operation type system allows you to assign each stock - operation a specific type which will alter its views accordingly. - On the operation type you could e.g. specify if packing is needed by default, - if it should show the customer. -

-
-
- - - Operations Types - stock.picking.type - ir.actions.act_window - tree,form - -

- No transfer found. Let's create one! -

- Transfers allow you to move products from one location to another. -

-
- -
- - - - - stock.picking.calendar stock.picking @@ -722,128 +599,4 @@ tree,form [('group_id','=',active_id)] - - - stock.picking.type.kanban - stock.picking.type - - - - - - - - - - - -
-
-
-
-
- - - -
-
- -
-
-
-
- -
-
-
-
-
- -
-
-
-
- - - -
- -
- - -
-
-
-
-
-
- -
-
-
-