From b95762c93d89f8ab70d2f179b2af6fa9e6998ad9 Mon Sep 17 00:00:00 2001 From: Alessandro Uffreduzzi Date: Tue, 31 Oct 2023 09:54:12 +0100 Subject: [PATCH] [FIX] all: fix pre-commit new checks --- .../views/mrp_bom_component_view.xml | 2 +- mrp_multi_level/views/mrp_area_views.xml | 2 +- mrp_multi_level/views/mrp_inventory_views.xml | 2 +- mrp_multi_level/views/mrp_move_views.xml | 2 +- .../views/product_mrp_area_views.xml | 2 +- .../wizards/mrp_inventory_procure_views.xml | 2 +- mrp_routing/data/sequence_data.xml | 23 +- mrp_routing/demo/routing_data.xml | 202 +++++++------- mrp_routing/views/mrp_bom_view.xml | 24 +- mrp_routing/views/mrp_routing_view.xml | 248 +++++++++-------- .../mrp_routing_workcenter_template_view.xml | 253 +++++++++--------- .../views/mrp_routing_workcenter_view.xml | 70 +++-- .../mrp_subcontracting_dropshipping_data.xml | 38 ++- mrp_tag/views/mrp_tag_view.xml | 2 +- .../data/quality_control_data.xml | 40 ++- .../demo/quality_control_demo.xml | 62 +++-- .../views/product_category_view.xml | 2 +- .../views/product_template_view.xml | 2 +- .../views/qc_inspection_view.xml | 10 +- .../views/qc_test_category_view.xml | 2 +- quality_control_oca/views/qc_test_view.xml | 6 +- quality_control_oca/views/qc_trigger_view.xml | 2 +- repair_sale_order/views/repair_order_view.xml | 146 +++++----- repair_sale_order/views/repair_type_view.xml | 96 ++++--- repair_sale_order/views/sale_order_view.xml | 46 ++-- 25 files changed, 620 insertions(+), 666 deletions(-) diff --git a/mrp_bom_component_menu/views/mrp_bom_component_view.xml b/mrp_bom_component_menu/views/mrp_bom_component_view.xml index 961df3a67..988e09786 100644 --- a/mrp_bom_component_menu/views/mrp_bom_component_view.xml +++ b/mrp_bom_component_menu/views/mrp_bom_component_view.xml @@ -21,7 +21,7 @@ mrp.bom.line.tree.view mrp.bom.line - + diff --git a/mrp_multi_level/views/mrp_area_views.xml b/mrp_multi_level/views/mrp_area_views.xml index a03cd2b20..d84f5049e 100644 --- a/mrp_multi_level/views/mrp_area_views.xml +++ b/mrp_multi_level/views/mrp_area_views.xml @@ -5,7 +5,7 @@ mrp.area tree - + diff --git a/mrp_multi_level/views/mrp_inventory_views.xml b/mrp_multi_level/views/mrp_inventory_views.xml index bafa78fe6..d368f235c 100644 --- a/mrp_multi_level/views/mrp_inventory_views.xml +++ b/mrp_multi_level/views/mrp_inventory_views.xml @@ -41,7 +41,7 @@ mrp.inventory tree - + diff --git a/mrp_multi_level/views/mrp_move_views.xml b/mrp_multi_level/views/mrp_move_views.xml index a12af691c..3b52e7112 100644 --- a/mrp_multi_level/views/mrp_move_views.xml +++ b/mrp_multi_level/views/mrp_move_views.xml @@ -4,7 +4,7 @@ mrp.move.tree mrp.move - + diff --git a/mrp_multi_level/views/product_mrp_area_views.xml b/mrp_multi_level/views/product_mrp_area_views.xml index c87c6aab2..9162b9674 100644 --- a/mrp_multi_level/views/product_mrp_area_views.xml +++ b/mrp_multi_level/views/product_mrp_area_views.xml @@ -5,7 +5,7 @@ product.mrp.area tree - + diff --git a/mrp_multi_level/wizards/mrp_inventory_procure_views.xml b/mrp_multi_level/wizards/mrp_inventory_procure_views.xml index ba82462d4..4bfa1ad1d 100644 --- a/mrp_multi_level/wizards/mrp_inventory_procure_views.xml +++ b/mrp_multi_level/wizards/mrp_inventory_procure_views.xml @@ -14,7 +14,7 @@

- + - - + - - Routing - mrp.routing - RO/ - 5 - 1 - 1 - - + + Routing + mrp.routing + RO/ + 5 + 1 + 1 + + - - diff --git a/mrp_routing/demo/routing_data.xml b/mrp_routing/demo/routing_data.xml index f9020a568..f86b98aad 100644 --- a/mrp_routing/demo/routing_data.xml +++ b/mrp_routing/demo/routing_data.xml @@ -1,116 +1,114 @@ - - - - Manual Assembly - 60 - 5 - pdf - - + + + Manual Assembly + 60 + 5 + pdf + + - - - Long time assembly - 180 - 15 - pdf - - + + + Long time assembly + 180 + 15 + pdf + + - - - Testing - 60 - 10 - pdf - - + + + Testing + 60 + 10 + pdf + + - - - Packing - 30 - 5 - pdf - - + + + Packing + 30 + 5 + pdf + + - - - 120 - 5 - Manual Assembly - pdf - - + + + 120 + 5 + Manual Assembly + pdf + + - - - 120 - 10 - Assembly Line 1 - pdf - - + + + 120 + 10 + Assembly Line 1 + pdf + + - - Primary Assembly - - + + Primary Assembly + + - - Secondary Assembly - - + + Secondary Assembly + + - - Manual Component's Assembly - - + + Manual Component's Assembly + + - - Assemble Furniture - - + + Assemble Furniture + + - diff --git a/mrp_routing/views/mrp_bom_view.xml b/mrp_routing/views/mrp_bom_view.xml index b57c8d636..2b21a2581 100644 --- a/mrp_routing/views/mrp_bom_view.xml +++ b/mrp_routing/views/mrp_bom_view.xml @@ -1,18 +1,16 @@ - - - mrp.bom.form.view - mrp.bom - - - - - - + + mrp.bom.form.view + mrp.bom + + + + + + - diff --git a/mrp_routing/views/mrp_routing_view.xml b/mrp_routing/views/mrp_routing_view.xml index ad754d6cb..82eeb1542 100644 --- a/mrp_routing/views/mrp_routing_view.xml +++ b/mrp_routing/views/mrp_routing_view.xml @@ -1,139 +1,137 @@ - - - mrp.routing.form - mrp.routing - -
- -
-
- -
-

- -

-
+ + mrp.routing.form + mrp.routing + + + +
+
+ +
+

+ +

+
+ - - - - - - - + + - - - - - - - - -
- -
-
+ + + +
+ + + + + + + + + + +
+ - - mrp.routing.tree - mrp.routing - - - - - - - - - + + mrp.routing.tree + mrp.routing + + + + + + + + + - - mrp.routing.kanban - mrp.routing - - - - - - -
-
-
- -
- + + mrp.routing.kanban + mrp.routing + + + + + + +
+
+
+
+
- - - - - +
+
+
+
+
+
- - mrp.routing.search - mrp.routing - - - - - - - + + mrp.routing.search + mrp.routing + + + + + + + - - Routings - ir.actions.act_window - mrp.routing - tree,kanban,form - - - -

- Create a new routing -

- Routings define the successive operations that need to be - done to realize a Manufacturing Order. Each operation from - a Routing is done at a specific Work Center and has a specific duration. -

-
-
+ + Routings + ir.actions.act_window + mrp.routing + tree,kanban,form + + + +

+ Create a new routing +

+ Routings define the successive operations that need to be + done to realize a Manufacturing Order. Each operation from + a Routing is done at a specific Work Center and has a specific duration. +

+
+
- + - diff --git a/mrp_routing/views/mrp_routing_workcenter_template_view.xml b/mrp_routing/views/mrp_routing_workcenter_template_view.xml index 3b4888706..ae419a9e6 100644 --- a/mrp_routing/views/mrp_routing_workcenter_template_view.xml +++ b/mrp_routing/views/mrp_routing_workcenter_template_view.xml @@ -1,143 +1,136 @@ - - - mrp.routing.workcenter.template.tree - mrp.routing.workcenter.template - - - - - - - - - + + mrp.routing.workcenter.template.tree + mrp.routing.workcenter.template + + + + + + + + + - - mrp.routing.workcenter.template.form - mrp.routing.workcenter.template - -
- - - - + + mrp.routing.workcenter.template.form + mrp.routing.workcenter.template + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - -
-
-
+ + + + + + + + + - - mrp.routing.workcenter.template.search - mrp.routing.workcenter.template - - - - - - - - - + + mrp.routing.workcenter.template.search + mrp.routing.workcenter.template + + + + + + + + + - - Template Operations - ir.actions.act_window - mrp.routing.workcenter.template - tree,form - - -

- Create a new template operation -

- Template Operation can be used to make template for operations related to bill of materials. -

-
- [] -
+ + Template Operations + ir.actions.act_window + mrp.routing.workcenter.template + tree,form + + +

+ Create a new template operation +

+ Template Operation can be used to make template for operations related to bill of materials. +

+
+ [] +
- + - -
diff --git a/mrp_routing/views/mrp_routing_workcenter_view.xml b/mrp_routing/views/mrp_routing_workcenter_view.xml index 613454b9f..a4382de6f 100644 --- a/mrp_routing/views/mrp_routing_workcenter_view.xml +++ b/mrp_routing/views/mrp_routing_workcenter_view.xml @@ -1,43 +1,41 @@ - - - mrp.routing.workcenter.tree - mrp.routing.workcenter - - - - - - - - - - - - - - - - - + + mrp.routing.workcenter.tree + mrp.routing.workcenter + + + + + + + + + + + + + + + + + - - mrp.routing.workcenter.form - mrp.routing.workcenter - - - - - - - - + + mrp.routing.workcenter.form + mrp.routing.workcenter + + + + + + + + - diff --git a/mrp_subcontracting_purchase/data/mrp_subcontracting_dropshipping_data.xml b/mrp_subcontracting_purchase/data/mrp_subcontracting_dropshipping_data.xml index 855b9d915..4c6d3acfb 100644 --- a/mrp_subcontracting_purchase/data/mrp_subcontracting_dropshipping_data.xml +++ b/mrp_subcontracting_purchase/data/mrp_subcontracting_dropshipping_data.xml @@ -1,24 +1,22 @@ - - - - Dropship Subcontractor on Order - 5 - - - + + + Dropship Subcontractor on Order + 5 + + + - + + + - - - - - - + + diff --git a/mrp_tag/views/mrp_tag_view.xml b/mrp_tag/views/mrp_tag_view.xml index 488b53112..4ccbfd4dd 100644 --- a/mrp_tag/views/mrp_tag_view.xml +++ b/mrp_tag/views/mrp_tag_view.xml @@ -31,7 +31,7 @@ mrp.tag.view.tree mrp.tag - + diff --git a/quality_control_oca/data/quality_control_data.xml b/quality_control_oca/data/quality_control_data.xml index 1e4f542ca..4bd7d9ca5 100644 --- a/quality_control_oca/data/quality_control_data.xml +++ b/quality_control_oca/data/quality_control_data.xml @@ -6,27 +6,21 @@ Copyright 2017 Simone Rubino - Agile Business Group Copyright 2021 Tecnativa - Carlos Roca License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> - - - - Generic - - - Referenced - - - Quality Control - 5 - - - Quality inspection - qc.inspection - QC- - 6 - - + + + Generic + + + Referenced + + + Quality Control + 5 + + + Quality inspection + qc.inspection + QC- + 6 + diff --git a/quality_control_oca/demo/quality_control_demo.xml b/quality_control_oca/demo/quality_control_demo.xml index c70cf1428..ac29b1ab2 100644 --- a/quality_control_oca/demo/quality_control_demo.xml +++ b/quality_control_oca/demo/quality_control_demo.xml @@ -1,34 +1,32 @@ - - - - Generic Test (demo) - generic - - - - - Overall quality - - qualitative - - - Good - - - - - Bad - - - - - Size - - quantitative - - - - - + + + Generic Test (demo) + generic + + + + + Overall quality + + qualitative + + + Good + + + + + Bad + + + + + Size + + quantitative + + + + diff --git a/quality_control_oca/views/product_category_view.xml b/quality_control_oca/views/product_category_view.xml index f87d2d17a..d0b39fae1 100644 --- a/quality_control_oca/views/product_category_view.xml +++ b/quality_control_oca/views/product_category_view.xml @@ -15,7 +15,7 @@ - + - + - + @@ -141,7 +136,7 @@ qc.inspection.tree qc.inspection - + @@ -241,7 +236,6 @@ diff --git a/quality_control_oca/views/qc_test_category_view.xml b/quality_control_oca/views/qc_test_category_view.xml index 8af83af0a..16e71eb7b 100644 --- a/quality_control_oca/views/qc_test_category_view.xml +++ b/quality_control_oca/views/qc_test_category_view.xml @@ -10,7 +10,7 @@ qc.test.category.tree qc.test.category - + diff --git a/quality_control_oca/views/qc_test_view.xml b/quality_control_oca/views/qc_test_view.xml index 5a9cd9c32..38732c5e7 100644 --- a/quality_control_oca/views/qc_test_view.xml +++ b/quality_control_oca/views/qc_test_view.xml @@ -35,7 +35,7 @@ - + @@ -57,7 +57,7 @@ qc.test.tree qc.test - + @@ -95,7 +95,7 @@ nolabel="1" attrs="{'required': [('type','=','qualitative')]}" > - + diff --git a/quality_control_oca/views/qc_trigger_view.xml b/quality_control_oca/views/qc_trigger_view.xml index be2b6a2ea..54c14339a 100644 --- a/quality_control_oca/views/qc_trigger_view.xml +++ b/quality_control_oca/views/qc_trigger_view.xml @@ -26,7 +26,7 @@ qc.trigger.tree qc.trigger - + diff --git a/repair_sale_order/views/repair_order_view.xml b/repair_sale_order/views/repair_order_view.xml index 3c65877c5..48ce9b29b 100644 --- a/repair_sale_order/views/repair_order_view.xml +++ b/repair_sale_order/views/repair_order_view.xml @@ -1,84 +1,76 @@ - - - repair.order.form.view - repair.order - - - + repair.order.form.view + repair.order + + + + - - - - - - {'invisible': ['|', ('create_sale_order', '=', True), '&', ('state','!=','confirmed'), '!', '&', ('state','=','ready'), ('invoice_method','=','b4repair')]} - - - + + + + + + {'invisible': ['|', ('create_sale_order', '=', True), '&', ('state','!=','confirmed'), '!', '&', ('state','=','ready'), ('invoice_method','=','b4repair')]} + + + - - - + + sale.order.form.view + sale.order + + + + + + + -