diff --git a/.copier-answers.yml b/.copier-answers.yml
index bdcc17f91..7cddc9047 100644
--- a/.copier-answers.yml
+++ b/.copier-answers.yml
@@ -1,8 +1,7 @@
# Do NOT update manually; changes here will be overwritten by Copier
-_commit: v1.14.2
+_commit: v1.17.2
_src_path: gh:oca/oca-addons-repo-template
ci: GitHub
-dependency_installation_mode: PIP
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
@@ -11,6 +10,7 @@ github_enable_makepot: true
github_enable_stale_action: true
github_enforce_dev_status_compatibility: true
include_wkhtmltopdf: false
+odoo_test_flavor: Both
odoo_version: 14.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
@@ -19,6 +19,4 @@ repo_description: Odoo modules related to Manufacturing
repo_name: Odoo Manufacturing Modules
repo_slug: manufacture
repo_website: https://github.com/OCA/manufacture
-travis_apt_packages: []
-travis_apt_sources: []
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 9429bc688..fed88d70d 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -22,6 +22,7 @@ globals:
odoo: readonly
openerp: readonly
owl: readonly
+ luxon: readonly
# Styling is handled by Prettier, so we only need to enable AST rules;
# see https://github.com/OCA/maintainer-quality-tools/pull/618#issuecomment-558576890
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 755f8a225..602ecbca2 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -13,8 +13,10 @@ jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions/setup-python@v2
+ with:
+ python-version: "3.11"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v1
@@ -25,6 +27,15 @@ jobs:
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color=always
+ env:
+ # Consider valid a PR that changes README fragments but doesn't
+ # change the README.rst file itself. It's not really a problem
+ # because the bot will update it anyway after merge. This way, we
+ # lower the barrier for functional contributors that want to fix the
+ # readme fragments, while still letting developers get README
+ # auto-generated (which also helps functionals when using runboat).
+ # DOCS https://pre-commit.com/#temporarily-disabling-hooks
+ SKIP: oca-gen-addon-readme
- name: Check that all files generated by pre-commit are in git
run: |
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 215b84b0f..326c12556 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
name: Detect unreleased dependencies
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- run: |
for reqfile in requirements.txt test-requirements.txt ; do
if [ -f ${reqfile} ] ; then
@@ -36,10 +36,10 @@ jobs:
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.6-odoo14.0:latest
- makepot: "true"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.6-ocb14.0:latest
name: test with OCB
+ makepot: "true"
services:
postgres:
image: postgres:9.6
@@ -50,7 +50,7 @@ jobs:
ports:
- 5432:5432
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install addons and dependencies
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 061bd724d..56d149516 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -12,6 +12,8 @@ exclude: |
/static/(src/)?lib/|
# Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$|
+ # Don't bother non-technical authors with formatting issues in docs
+ readme/.*\.(rst|md)$|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version:
@@ -33,12 +35,24 @@ repos:
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/oca/maintainer-tools
- rev: ab1d7f6
+ rev: 969238e47c07d0c40573acff81d170f63245d738
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://github.com/OCA/manufacture"]
+ - id: oca-gen-addon-readme
+ args:
+ - --addons-dir=.
+ - --branch=14.0
+ - --org-name=OCA
+ - --repo-name=manufacture
+ - --if-source-changed
+ - repo: https://github.com/OCA/odoo-pre-commit-hooks
+ rev: v0.0.25
+ hooks:
+ - id: oca-checks-odoo-module
+ - id: oca-checks-po
- repo: https://github.com/myint/autoflake
rev: v1.4
hooks:
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.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
+
+
+
+
+
+
+
+
+
+
+
+
+
+ last
+
+ work orders
+
+
+
-
-
-
-
-
-
- last
-
- work orders
-
-
-
- minutes
-
+ name="time_cycle_manual"
+ widget="float_time"
+ class="oe_inline"
+ /> minutes
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
- 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/i18n/quality_control_oca.pot b/quality_control_oca/i18n/quality_control_oca.pot
index 2b283dc63..ce58b3ee9 100644
--- a/quality_control_oca/i18n/quality_control_oca.pot
+++ b/quality_control_oca/i18n/quality_control_oca.pot
@@ -336,17 +336,11 @@ msgstr ""
#. module: quality_control_oca
#: model:ir.model.fields,help:quality_control_oca.field_qc_inspection__message_has_error
-#: model:ir.model.fields,help:quality_control_oca.field_qc_inspection__message_has_sms_error
#: model:ir.model.fields,help:quality_control_oca.field_qc_test__message_has_error
-#: model:ir.model.fields,help:quality_control_oca.field_qc_test__message_has_sms_error
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_line__message_has_error
-#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_line__message_has_sms_error
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_category_line__message_has_error
-#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_category_line__message_has_sms_error
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_line__message_has_error
-#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_line__message_has_sms_error
#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_template_line__message_has_error
-#: model:ir.model.fields,help:quality_control_oca.field_qc_trigger_product_template_line__message_has_sms_error
msgid "If checked, some messages have a delivery error."
msgstr ""
@@ -847,16 +841,6 @@ msgstr ""
msgid "Responsible User"
msgstr ""
-#. module: quality_control_oca
-#: model:ir.model.fields,field_description:quality_control_oca.field_qc_inspection__message_has_sms_error
-#: model:ir.model.fields,field_description:quality_control_oca.field_qc_test__message_has_sms_error
-#: model:ir.model.fields,field_description:quality_control_oca.field_qc_trigger_line__message_has_sms_error
-#: model:ir.model.fields,field_description:quality_control_oca.field_qc_trigger_product_category_line__message_has_sms_error
-#: model:ir.model.fields,field_description:quality_control_oca.field_qc_trigger_product_line__message_has_sms_error
-#: model:ir.model.fields,field_description:quality_control_oca.field_qc_trigger_product_template_line__message_has_sms_error
-msgid "SMS Delivery error"
-msgstr ""
-
#. module: quality_control_oca
#: model_terms:ir.ui.view,arch_db:quality_control_oca.qc_inspection_search_view
msgid "Search inspection"
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)]}
-
-
- {'invisible': [('create_sale_order', '=', True)]}
-
-
- {'column_invisible': [('parent.create_sale_order', '=', True)]}
-
-
- {'column_invisible': [('parent.create_sale_order', '=', True)]}
-
-
- {'required': ['|', ('create_sale_order', '=', True), ('invoice_method','!=','none')]}
-
-
-
+
+
+
+
+
+
+ {'invisible': ['|', ('create_sale_order', '=', True), '&', ('state','!=','confirmed'), '!', '&', ('state','=','ready'), ('invoice_method','=','b4repair')]}
+
+
+
+
+
+ {'invisible': [('create_sale_order', '=', True)]}
+
+
+ {'invisible': [('create_sale_order', '=', True)]}
+
+
+ {'column_invisible': [('parent.create_sale_order', '=', True)]}
+
+
+ {'column_invisible': [('parent.create_sale_order', '=', True)]}
+
+
+ {'required': ['|', ('create_sale_order', '=', True), ('invoice_method','!=','none')]}
+
+
+
-
diff --git a/repair_sale_order/views/repair_type_view.xml b/repair_sale_order/views/repair_type_view.xml
index 1ca5eb171..ce979cd8b 100644
--- a/repair_sale_order/views/repair_type_view.xml
+++ b/repair_sale_order/views/repair_type_view.xml
@@ -1,54 +1,52 @@
-
-
- repair.type.form.view
- repair.type
-
-
-
-
-
-
- {'invisible': [('create_sale_order', '=', True)]}
-
-
- {'invisible': [('create_sale_order', '=', True)]}
-
-
- {'invisible': [('create_sale_order', '=', True)]}
-
-
- {'invisible': [('create_sale_order', '=', True)]}
-
-
- {'invisible': [('create_sale_order', '=', True)]}
-
-
-
+
+ repair.type.form.view
+ repair.type
+
+
+
+
+
+
+ {'invisible': [('create_sale_order', '=', True)]}
+
+
+ {'invisible': [('create_sale_order', '=', True)]}
+
+
+ {'invisible': [('create_sale_order', '=', True)]}
+
+
+ {'invisible': [('create_sale_order', '=', True)]}
+
+
+ {'invisible': [('create_sale_order', '=', True)]}
+
+
+
-
diff --git a/repair_sale_order/views/sale_order_view.xml b/repair_sale_order/views/sale_order_view.xml
index 357ca490b..33d1e8e00 100644
--- a/repair_sale_order/views/sale_order_view.xml
+++ b/repair_sale_order/views/sale_order_view.xml
@@ -1,29 +1,27 @@
-
-
- sale.order.form.view
- sale.order
-
-
-
-
-
-
-
-
-
+
+ sale.order.form.view
+ sale.order
+
+
+
+
+
+
+
+
+
-