From 5691525e5f8714d57e88390f31f95b124b05edd1 Mon Sep 17 00:00:00 2001 From: Hoang Diep Date: Thu, 26 Oct 2023 17:32:06 +0700 Subject: [PATCH 01/24] [ADD] replace action.read() by _for_xml_id to avoid access rights issue --- .../migration_scripts/migrate_130_140.py | 32 ++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/odoo_module_migrate/migration_scripts/migrate_130_140.py b/odoo_module_migrate/migration_scripts/migrate_130_140.py index e98c2e42..a442277d 100644 --- a/odoo_module_migrate/migration_scripts/migrate_130_140.py +++ b/odoo_module_migrate/migration_scripts/migrate_130_140.py @@ -142,6 +142,36 @@ def reformat_deprecated_tags( logger.debug("Reformatted files:\n" f"{list(reformatted_files)}") +def refactor_action_read(**kwargs): + """ + replace action.read() by _for_xml_id to avoid access rights issue + + ##### case 1: pattern for case action.read[0] right after self.env.ref + ## action = self.env.ref('sale.action_orders') + ## action = action.read()[0] + + ##### case 2: pattern for case having new line between action.read[0] and self.env.ref + ## action = self.env.ref('sale.action_orders') + ## ......... + ## ......... + ## action = action.read()[0] + """ + logger = kwargs["logger"] + tools = kwargs["tools"] + module_path = kwargs["module_path"] + file_paths = _get_files(module_path, ".py") + + old_term = r"action.*= self.env.ref\((.*)\)((\n.+)+?)?(\n.+)(action\.read\(\)\[0\])" + new_term = r'\2\4self.env["ir.actions.act_window"]._for_xml_id(\1)' + for file_path in file_paths: + logger.debug(f"refactor file {file_path}") + tools._replace_in_file( + file_path, + {old_term: new_term}, + log_message="refactor action.read[0] to _for_xml_id", + ) + + _TEXT_REPLACES = { ".js": { r"tour\.STEPS\.SHOW_APPS_MENU_ITEM": "tour.stepUtils.showAppsMenuItem()", @@ -155,5 +185,5 @@ def reformat_deprecated_tags( class MigrationScript(BaseMigrationScript): - _GLOBAL_FUNCTIONS = [reformat_deprecated_tags] + _GLOBAL_FUNCTIONS = [reformat_deprecated_tags, refactor_action_read] _TEXT_REPLACES = _TEXT_REPLACES From 028603073384c19d170f42eaadc2ab9c8fdf4c7e Mon Sep 17 00:00:00 2001 From: Franco Leyes Date: Thu, 17 Oct 2024 11:42:57 -0300 Subject: [PATCH 02/24] [ADD] Add error message chart_template_ref argument has been removed in v18 --- .../text_errors/migrate_170_180/chart_template_ref.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/text_errors/migrate_170_180/chart_template_ref.yaml diff --git a/odoo_module_migrate/migration_scripts/text_errors/migrate_170_180/chart_template_ref.yaml b/odoo_module_migrate/migration_scripts/text_errors/migrate_170_180/chart_template_ref.yaml new file mode 100644 index 00000000..07fa30d7 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_errors/migrate_170_180/chart_template_ref.yaml @@ -0,0 +1,2 @@ +.py: + setUpClass.*chart_template_ref: "[18] The 'chart_template_ref' argument has been removed from setUpClass. More details: https://github.com/odoo/odoo/pull/152899" From 9022d3e3907a555e14e7a652a91f815655821669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Duy=20=28=C4=90=E1=BB=97=20Anh=29?= Date: Mon, 21 Oct 2024 11:01:13 +0700 Subject: [PATCH 03/24] [IMP] slugify deprecation --- .../migration_scripts/migrate_170_180.py | 33 +++++++++++++++++++ tests/data_result/module_170_180/__init__.py | 1 + .../module_170_180/controllers/__init__.py | 1 + .../module_170_180/controllers/main.py | 8 +++++ .../module_170_180/models/__init__.py | 1 + .../module_170_180/models/website.py | 9 +++++ tests/data_template/module_170/__init__.py | 1 + .../module_170/controllers/__init__.py | 1 + .../module_170/controllers/main.py | 9 +++++ .../module_170/models/__init__.py | 1 + .../module_170/models/website.py | 10 ++++++ 11 files changed, 75 insertions(+) create mode 100644 tests/data_result/module_170_180/controllers/__init__.py create mode 100644 tests/data_result/module_170_180/controllers/main.py create mode 100644 tests/data_result/module_170_180/models/website.py create mode 100644 tests/data_template/module_170/controllers/__init__.py create mode 100644 tests/data_template/module_170/controllers/main.py create mode 100644 tests/data_template/module_170/models/website.py diff --git a/odoo_module_migrate/migration_scripts/migrate_170_180.py b/odoo_module_migrate/migration_scripts/migrate_170_180.py index 330ce75f..f7f15666 100644 --- a/odoo_module_migrate/migration_scripts/migrate_170_180.py +++ b/odoo_module_migrate/migration_scripts/migrate_170_180.py @@ -169,6 +169,38 @@ def replace_ustr( logger.error(f"Error processing file {file}: {str(e)}") +def replace_slugify( + logger, module_path, module_name, manifest_path, migration_steps, tools +): + files_to_process = tools.get_files(module_path, (".py",)) + + for file in files_to_process: + try: + content = tools._read_content(file) + content = re.sub( + r"from\s+odoo\.addons\.http_routing\.models\.ir_http\s+import\s+slugify\b.*\n", + "", + content, + ) + # process in controller (*.py) file are using request + has_request = "request" in content + if has_request: + content = re.sub( + r"""(? Date: Thu, 24 Oct 2024 16:01:35 +0700 Subject: [PATCH 04/24] [IMP] replace editable attribute on list view --- .../migration_scripts/migrate_170_180.py | 21 +++++++++++++++++++ .../module_170_180/__manifest__.py | 1 + .../views/product_template_view.xml | 15 +++++++++++++ .../module_170_180/views/res_partner.xml | 3 +++ .../data_template/module_170/__manifest__.py | 1 + .../views/product_template_view.xml | 15 +++++++++++++ .../module_170/views/res_partner.xml | 3 +++ 7 files changed, 59 insertions(+) create mode 100644 tests/data_result/module_170_180/views/product_template_view.xml create mode 100644 tests/data_template/module_170/views/product_template_view.xml diff --git a/odoo_module_migrate/migration_scripts/migrate_170_180.py b/odoo_module_migrate/migration_scripts/migrate_170_180.py index f7f15666..622c1938 100644 --- a/odoo_module_migrate/migration_scripts/migrate_170_180.py +++ b/odoo_module_migrate/migration_scripts/migrate_170_180.py @@ -201,6 +201,26 @@ def replace_slugify( logger.error(f"Error processing file {file}: {str(e)}") +def replace_editable_attribute( + logger, module_path, module_name, manifest_path, migration_steps, tools +): + files_to_process = tools.get_files(module_path, (".xml", ".js", ".py")) + replaces = { + 'editable="1"': 'editable="bottom"', + "editable='1'": 'editable="bottom"', + r'1': 'bottom', + } + for file in files_to_process: + try: + tools._replace_in_file( + file, + replaces, + log_message=f"""Replace editable="1" by "bottom" in file: {file}""", + ) + except Exception as e: + logger.error(f"Error processing file {file}: {str(e)}") + + class MigrationScript(BaseMigrationScript): _GLOBAL_FUNCTIONS = [ replace_unaccent_parameter, @@ -210,4 +230,5 @@ class MigrationScript(BaseMigrationScript): replace_user_has_groups, replace_ustr, replace_slugify, + replace_editable_attribute, ] diff --git a/tests/data_result/module_170_180/__manifest__.py b/tests/data_result/module_170_180/__manifest__.py index 4599a7e8..c4ee8332 100644 --- a/tests/data_result/module_170_180/__manifest__.py +++ b/tests/data_result/module_170_180/__manifest__.py @@ -10,5 +10,6 @@ ], 'data': [ 'views/res_partner.xml', + 'views/product_template_view.xml', ], } diff --git a/tests/data_result/module_170_180/views/product_template_view.xml b/tests/data_result/module_170_180/views/product_template_view.xml new file mode 100644 index 00000000..5a2db6e6 --- /dev/null +++ b/tests/data_result/module_170_180/views/product_template_view.xml @@ -0,0 +1,15 @@ + + + + + product.template.list.custom + product.template + + + + + + + + + diff --git a/tests/data_result/module_170_180/views/res_partner.xml b/tests/data_result/module_170_180/views/res_partner.xml index 5c9df22d..47037d1a 100644 --- a/tests/data_result/module_170_180/views/res_partner.xml +++ b/tests/data_result/module_170_180/views/res_partner.xml @@ -9,6 +9,9 @@ + + bottom + diff --git a/tests/data_template/module_170/__manifest__.py b/tests/data_template/module_170/__manifest__.py index 4bee0f35..04016eb4 100644 --- a/tests/data_template/module_170/__manifest__.py +++ b/tests/data_template/module_170/__manifest__.py @@ -10,5 +10,6 @@ ], 'data': [ 'views/res_partner.xml', + 'views/product_template_view.xml', ], } diff --git a/tests/data_template/module_170/views/product_template_view.xml b/tests/data_template/module_170/views/product_template_view.xml new file mode 100644 index 00000000..784bbf52 --- /dev/null +++ b/tests/data_template/module_170/views/product_template_view.xml @@ -0,0 +1,15 @@ + + + + + product.template.list.custom + product.template + + + + + + + + + diff --git a/tests/data_template/module_170/views/res_partner.xml b/tests/data_template/module_170/views/res_partner.xml index b61715e9..09251e14 100644 --- a/tests/data_template/module_170/views/res_partner.xml +++ b/tests/data_template/module_170/views/res_partner.xml @@ -9,6 +9,9 @@ + + 1 + From 551394fd7b96d1231986e8e0d08b6fbb8e70cc27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Duy=20=28=C4=90=E1=BB=97=20Anh=29?= Date: Wed, 23 Oct 2024 11:28:17 +0700 Subject: [PATCH 05/24] [IMP] automatically remove @odoo-module from js assets --- .../migration_scripts/migrate_170_180.py | 25 +++++++++++++++++++ .../module_170_180/__manifest__.py | 5 ++++ .../module_170_180/static/file_not_process.js | 4 +++ .../module_170_180/static/src/js/main.js | 1 + .../data_template/module_170/__manifest__.py | 5 ++++ .../module_170/static/file_not_process.js | 4 +++ .../module_170/static/src/js/main.js | 6 +++++ 7 files changed, 50 insertions(+) create mode 100644 tests/data_result/module_170_180/static/file_not_process.js create mode 100644 tests/data_result/module_170_180/static/src/js/main.js create mode 100644 tests/data_template/module_170/static/file_not_process.js create mode 100644 tests/data_template/module_170/static/src/js/main.js diff --git a/odoo_module_migrate/migration_scripts/migrate_170_180.py b/odoo_module_migrate/migration_scripts/migrate_170_180.py index 622c1938..719e4a64 100644 --- a/odoo_module_migrate/migration_scripts/migrate_170_180.py +++ b/odoo_module_migrate/migration_scripts/migrate_170_180.py @@ -221,6 +221,30 @@ def replace_editable_attribute( logger.error(f"Error processing file {file}: {str(e)}") +def replace_odoo_module_from_js_assets( + logger, module_path, module_name, manifest_path, migration_steps, tools +): + files_to_process = tools.get_files(module_path, (".js",)) + replaces = { + r"/\*\*\s*@odoo-module\s*\*\*/\s*\n?": "", + r"/\*\s*@odoo-module\s*\*/\s*\n?": "", + r"/\*\*\s*@odoo-module\s*\*/\s*\n?": "", + r"/\*\s*@odoo-module\s*\*\*/\s*\n?": "", + } + for file in files_to_process: + file_str = str(file) + if not ("/static/src" in file_str or "/static/tests" in file_str): + continue + try: + tools._replace_in_file( + file, + replaces, + log_message=f"Remove @odoo-module from js assets in file: {file}", + ) + except Exception as e: + logger.error(f"Error processing file {file}: {str(e)}") + + class MigrationScript(BaseMigrationScript): _GLOBAL_FUNCTIONS = [ replace_unaccent_parameter, @@ -231,4 +255,5 @@ class MigrationScript(BaseMigrationScript): replace_ustr, replace_slugify, replace_editable_attribute, + replace_odoo_module_from_js_assets, ] diff --git a/tests/data_result/module_170_180/__manifest__.py b/tests/data_result/module_170_180/__manifest__.py index c4ee8332..3532b29d 100644 --- a/tests/data_result/module_170_180/__manifest__.py +++ b/tests/data_result/module_170_180/__manifest__.py @@ -12,4 +12,9 @@ 'views/res_partner.xml', 'views/product_template_view.xml', ], + 'assets': { + 'web.assets_backend': [ + 'module_170/static/src/js/main.js', + ], + }, } diff --git a/tests/data_result/module_170_180/static/file_not_process.js b/tests/data_result/module_170_180/static/file_not_process.js new file mode 100644 index 00000000..950603d4 --- /dev/null +++ b/tests/data_result/module_170_180/static/file_not_process.js @@ -0,0 +1,4 @@ +/** @odoo-module **/ + +// example js file include tag @odoo-module but not process this file +// because it does not in static/src or static/tests diff --git a/tests/data_result/module_170_180/static/src/js/main.js b/tests/data_result/module_170_180/static/src/js/main.js new file mode 100644 index 00000000..67e3b532 --- /dev/null +++ b/tests/data_result/module_170_180/static/src/js/main.js @@ -0,0 +1 @@ +// example js file include tag @odoo-module diff --git a/tests/data_template/module_170/__manifest__.py b/tests/data_template/module_170/__manifest__.py index 04016eb4..15bb5d3a 100644 --- a/tests/data_template/module_170/__manifest__.py +++ b/tests/data_template/module_170/__manifest__.py @@ -12,4 +12,9 @@ 'views/res_partner.xml', 'views/product_template_view.xml', ], + 'assets': { + 'web.assets_backend': [ + 'module_170/static/src/js/main.js', + ], + }, } diff --git a/tests/data_template/module_170/static/file_not_process.js b/tests/data_template/module_170/static/file_not_process.js new file mode 100644 index 00000000..950603d4 --- /dev/null +++ b/tests/data_template/module_170/static/file_not_process.js @@ -0,0 +1,4 @@ +/** @odoo-module **/ + +// example js file include tag @odoo-module but not process this file +// because it does not in static/src or static/tests diff --git a/tests/data_template/module_170/static/src/js/main.js b/tests/data_template/module_170/static/src/js/main.js new file mode 100644 index 00000000..d357df08 --- /dev/null +++ b/tests/data_template/module_170/static/src/js/main.js @@ -0,0 +1,6 @@ +/** @odoo-module **/ +/* @odoo-module */ +/** @odoo-module */ +/* @odoo-module **/ + +// example js file include tag @odoo-module From 7e2785d795e65b00e7c0c024063bf67209b65bed Mon Sep 17 00:00:00 2001 From: Franco Leyes Date: Tue, 29 Oct 2024 11:11:37 -0300 Subject: [PATCH 06/24] [IMP] Add error messages for deprecated '_check_recursion' and '_check_m2m_recursion' methods, replaced by '_has_cycle' More info here: https://github.com/odoo/odoo/pull/162656 --- .../text_errors/migrate_170_180/check_recursion.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/text_errors/migrate_170_180/check_recursion.yaml diff --git a/odoo_module_migrate/migration_scripts/text_errors/migrate_170_180/check_recursion.yaml b/odoo_module_migrate/migration_scripts/text_errors/migrate_170_180/check_recursion.yaml new file mode 100644 index 00000000..d93f504d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_errors/migrate_170_180/check_recursion.yaml @@ -0,0 +1,6 @@ +.py: + \b\w+\._check_recursion\([^)]*\): + "[Error] The method '_check_recursion' is deprecated and replaced by '_has_cycle' for performance improvements. More details: https://github.com/odoo/odoo/pull/162656" + + \b\w+\._check_m2m_recursion\([^)]*\): + "[Error] The method '_check_m2m_recursion' is deprecated and replaced by '_has_cycle' for performance improvements in checking cyclic dependencies. More details: https://github.com/odoo/odoo/pull/162656" From a0d6bc4d6d62ad7fc61232e5f5c47ad16b5f08f8 Mon Sep 17 00:00:00 2001 From: Franco Leyes Date: Fri, 1 Nov 2024 14:26:00 -0300 Subject: [PATCH 07/24] [IMP] Add warning for direct '_' import in translations --- .../text_warnings/migrate_170_180/translations.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/translations.yaml diff --git a/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/translations.yaml b/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/translations.yaml new file mode 100644 index 00000000..ef345337 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/translations.yaml @@ -0,0 +1,2 @@ +.py: + from odoo(\.tools(\.translate)?)? import .*_: "[18] When possible, it is better to rely on `Env._`: replace '_('text')' by 'self.env._('text')' and remove '_' from the imports. More details: https://github.com/odoo/odoo/pull/174844" From 52f1172b8100bc542b37a74d2f38794b1d97083c Mon Sep 17 00:00:00 2001 From: chaule97 Date: Wed, 30 Oct 2024 14:50:11 +0700 Subject: [PATCH 08/24] [IMP] rewrite translatable strings to use named placeholders Refactor translatable strings to use named placeholders instead of positional ones. This improves readability, reduces the risk of translation errors, and makes translations easier to maintain and reorder across languages. --- .../migration_scripts/migrate_130_allways.py | 83 +++++++++++++++++++ ...nnamed_placeholders_translated_string.yaml | 2 + tests/data_result/module_130_140/__init__.py | 1 + .../module_130_140/models/__init__.py | 1 + .../module_130_140/models/res_partner.py | 58 +++++++++++++ tests/data_template/module_130/__init__.py | 1 + .../module_130/models/__init__.py | 1 + .../module_130/models/res_partner.py | 75 +++++++++++++++++ 8 files changed, 222 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/migrate_130_allways.py create mode 100644 odoo_module_migrate/migration_scripts/text_warnings/migrate_allways/unnamed_placeholders_translated_string.yaml create mode 100644 tests/data_result/module_130_140/models/__init__.py create mode 100644 tests/data_result/module_130_140/models/res_partner.py create mode 100644 tests/data_template/module_130/models/__init__.py create mode 100644 tests/data_template/module_130/models/res_partner.py diff --git a/odoo_module_migrate/migration_scripts/migrate_130_allways.py b/odoo_module_migrate/migration_scripts/migrate_130_allways.py new file mode 100644 index 00000000..99294ac9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/migrate_130_allways.py @@ -0,0 +1,83 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +import re +from odoo_module_migrate.base_migration_script import BaseMigrationScript + + +def multi_value_translation_replacement_function(match, single_quote=True): + format_string = match.group(1) + dictionary_entries = match.group(2) + + formatted_entries = [] + for entry in dictionary_entries.split(","): + if ":" in entry: + [key, value] = entry.split(":") + formatted_entries.append( + "{}={}".format(key.strip().strip("'").strip('"'), value.strip()) + ) + + formatted_entries = ", ".join(formatted_entries) + + if single_quote: + return f"_('{format_string}', {formatted_entries})" + return f'_("{format_string}", {formatted_entries})' + + +def format_parenthesis(match): + format_string = match.group(1) + dictionary_entries = match.group(2) + + if dictionary_entries.endswith(","): + dictionary_entries = dictionary_entries[:-1] + + return f"_({format_string}, {dictionary_entries})" + + +def format_replacement_function(match, single_quote=True): + format_string = re.sub(r"\{\d*\}", "%s", match.group(1)) + format_string = re.sub(r"{(\w+)}", r"%(\1)s", format_string) + arguments = " ".join(match.group(2).split()) + + if arguments.endswith(","): + arguments = arguments[:-1] + + if single_quote: + return f"_('{format_string}', {arguments})" + return f'_("{format_string}", {arguments})' + + +def replace_translation_function( + logger, module_path, module_name, manifest_path, migration_steps, tools +): + files_to_process = tools.get_files(module_path, (".py",)) + + replaces = { + r'_\(\s*"([^"]+)"\s*\)\s*%\s*\{([^}]+)\}': lambda match: multi_value_translation_replacement_function( + match, single_quote=False + ), + r"_\(\s*'([^']+)'\s*\)\s*%\s*\{([^}]+)\}": lambda match: multi_value_translation_replacement_function( + match, single_quote=True + ), + r'_\(\s*(["\'].*?%[ds].*?["\'])\s*\)\s*%\s*\(\s*(.+)\s*\)': format_parenthesis, + r'_\(\s*(["\'].*?%[ds].*?["\'])\s*\)\s*?%\s*?([^\s]+)': r"_(\1, \2)", + r'_\(\s*"([^"]*)"\s*\)\.format\(\s*(\s*[^)]+)\)': lambda match: format_replacement_function( + match, single_quote=False + ), + r"_\(\s*'([^']*)'\s*\)\.format\(\s*(\s*[^)]+)\)": lambda match: format_replacement_function( + match, single_quote=True + ), + } + + for file in files_to_process: + try: + tools._replace_in_file( + file, + replaces, + log_message=f"""Improve _() function: {file}""", + ) + except Exception as e: + logger.error(f"Error processing file {file}: {str(e)}") + + +class MigrationScript(BaseMigrationScript): + + _GLOBAL_FUNCTIONS = [replace_translation_function] diff --git a/odoo_module_migrate/migration_scripts/text_warnings/migrate_allways/unnamed_placeholders_translated_string.yaml b/odoo_module_migrate/migration_scripts/text_warnings/migrate_allways/unnamed_placeholders_translated_string.yaml new file mode 100644 index 00000000..08b82628 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_warnings/migrate_allways/unnamed_placeholders_translated_string.yaml @@ -0,0 +1,2 @@ +.py: + _\(\s*["\'].*?%s.*?["\']: "[Warning] In some languages the order of the placeholders may have to be modified, which is impossible if they are unnamed. We can use named placedholders to avoid this" diff --git a/tests/data_result/module_130_140/__init__.py b/tests/data_result/module_130_140/__init__.py index e69de29b..0650744f 100644 --- a/tests/data_result/module_130_140/__init__.py +++ b/tests/data_result/module_130_140/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/tests/data_result/module_130_140/models/__init__.py b/tests/data_result/module_130_140/models/__init__.py new file mode 100644 index 00000000..91fed54d --- /dev/null +++ b/tests/data_result/module_130_140/models/__init__.py @@ -0,0 +1 @@ +from . import res_partner diff --git a/tests/data_result/module_130_140/models/res_partner.py b/tests/data_result/module_130_140/models/res_partner.py new file mode 100644 index 00000000..791d96fa --- /dev/null +++ b/tests/data_result/module_130_140/models/res_partner.py @@ -0,0 +1,58 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import _, models +from odoo.exceptions import ValidationError + + +class ResPartner(models.Model): + _inherit = "res.partner" + + def test_improve_translation(self): + return _("It's %s", 2024) + + def test_improve_transalation_with_line_break(self): + raise ValidationError( + _("The '%s' is empty or 0. It should have a non-null value.", "Price") + ) + + def test_improve_translation_with_parenthesis(self): + return _("It's %s", 2024) + + def test_improve_translation_with_single_quote(self): + return _('It is %s', 2024) + + def test_improve_translation_with_parenthesis_and_line_break(self): + raise ValidationError( + _("%s are only valid until %s", "User", 2024) + ) + + def test_improve_translation_with_brackets(self): + return _("User %(name)s has %(items)s items", name="Dev", items=5) + + def test_improve_translation_with_single_quote(self): + return _('User %(name)s has %(items)s items', name='Dev', items=5) + + def test_improve_translation_with_brackets_and_line_break(self): + return _("User %(name)s has %(items)s items", name="Dev", items=5) + + def test_improve_translation_with_format(self): + return _("It's %s", 2024) + + def test_improve_translation_with_format_and_single_quote(self): + return _('It is %s', 2024) + + def test_improve_translation_with_format_and_line_break(self): + return _("It's %s", 2024) + + def test_improve_translation_with_format_has_end_comma(self): + return _("It's %s", 2024) + + def test_improve_translation_with_format_multi_params(self): + return _("User %(name)s has %(items)s items", name="Dev", items=5) + + def test_improve_translation_with_format_multi_params_and_line_break(self): + return _("User %(name)s has %(items)s items", name="Dev", items=5) + + def test_improve_translation_with_format_multi_params_has_end_comma(self): + return _('User %(name)s has "acb" %(items)s items', name="Dev", items=5) + \ No newline at end of file diff --git a/tests/data_template/module_130/__init__.py b/tests/data_template/module_130/__init__.py index e69de29b..0650744f 100644 --- a/tests/data_template/module_130/__init__.py +++ b/tests/data_template/module_130/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/tests/data_template/module_130/models/__init__.py b/tests/data_template/module_130/models/__init__.py new file mode 100644 index 00000000..91fed54d --- /dev/null +++ b/tests/data_template/module_130/models/__init__.py @@ -0,0 +1 @@ +from . import res_partner diff --git a/tests/data_template/module_130/models/res_partner.py b/tests/data_template/module_130/models/res_partner.py new file mode 100644 index 00000000..aa0c41bf --- /dev/null +++ b/tests/data_template/module_130/models/res_partner.py @@ -0,0 +1,75 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import _, models +from odoo.exceptions import ValidationError + + +class ResPartner(models.Model): + _inherit = "res.partner" + + def test_improve_translation(self): + return _("It's %s") % 2024 + + def test_improve_transalation_with_line_break(self): + raise ValidationError( + _("The '%s' is empty or 0. It should have a non-null value.") + % "Price" + ) + + def test_improve_translation_with_parenthesis(self): + return _("It's %s") % (2024) + + def test_improve_translation_with_single_quote(self): + return _('It is %s') % (2024) + + def test_improve_translation_with_parenthesis_and_line_break(self): + raise ValidationError( + _("%s are only valid until %s") % ( + "User", 2024, + ) + ) + + def test_improve_translation_with_brackets(self): + return _("User %(name)s has %(items)s items") % {"name":"Dev", "items": 5} + + def test_improve_translation_with_single_quote(self): + return _('User %(name)s has %(items)s items') % {'name':'Dev', 'items': 5} + + def test_improve_translation_with_brackets_and_line_break(self): + return _( + "User %(name)s has %(items)s items" + ) % { + "name": "Dev", + "items": 5, + } + + def test_improve_translation_with_format(self): + return _("It's {}").format(2024) + + def test_improve_translation_with_format_and_single_quote(self): + return _('It is {}').format(2024) + + def test_improve_translation_with_format_and_line_break(self): + return _( + "It's {}" + ).format( + 2024 + ) + + def test_improve_translation_with_format_has_end_comma(self): + return _("It's {}").format(2024,) + + def test_improve_translation_with_format_multi_params(self): + return _("User {name} has {items} items").format(name="Dev", items=5) + + def test_improve_translation_with_format_multi_params_and_line_break(self): + return _( + "User {name} has {items} items" + ).format( + name="Dev", + items=5 + ) + + def test_improve_translation_with_format_multi_params_has_end_comma(self): + return _('User {name} has "acb" {items} items').format(name="Dev", items=5,) + \ No newline at end of file From d11e6772d49918e9beae4743818ab9ed81c5ff71 Mon Sep 17 00:00:00 2001 From: Franco Leyes Date: Wed, 13 Nov 2024 16:01:50 -0300 Subject: [PATCH 09/24] [IMP] *: Add warning for auto-added invisible/readonly fields in XML views --- .../text_warnings/migrate_170_180/invisible_fields.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/invisible_fields.yaml diff --git a/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/invisible_fields.yaml b/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/invisible_fields.yaml new file mode 100644 index 00000000..22f65075 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/invisible_fields.yaml @@ -0,0 +1,2 @@ +.xml: + invisible=(["']1["']|["']True["']|["']true["'])|column_invisible=(["']1["']|["']True["']|["']true["']): "[18] Fields that are required by Python expressions (invisible, column_invisible, readonly, required, context, domain) are now added automatically as invisible and readonly. You can remove these fields from XML views unless they are necessary for specific logic. More details: https://github.com/odoo/odoo/pull/137031." From f549d0dc62a12b18e583e2a73d1b90f46bd92bfd Mon Sep 17 00:00:00 2001 From: Lukas Tran Date: Wed, 20 Nov 2024 15:46:13 +0700 Subject: [PATCH 10/24] [IMP] remove depcreate class `oe_kanban_global_click` and `oe_kanban_global_click_edit` --- .../migration_scripts/migrate_170_180.py | 22 ++++++++++++ .../module_170_180/views/res_partner.xml | 36 +++++++++++++++++++ .../module_170/views/res_partner.xml | 36 +++++++++++++++++++ 3 files changed, 94 insertions(+) diff --git a/odoo_module_migrate/migration_scripts/migrate_170_180.py b/odoo_module_migrate/migration_scripts/migrate_170_180.py index 719e4a64..3452b5cb 100644 --- a/odoo_module_migrate/migration_scripts/migrate_170_180.py +++ b/odoo_module_migrate/migration_scripts/migrate_170_180.py @@ -245,10 +245,32 @@ def replace_odoo_module_from_js_assets( logger.error(f"Error processing file {file}: {str(e)}") +def remove_deprecated_kanban_click_classes( + logger, module_path, module_name, manifest_path, migration_steps, tools +): + files_to_process = tools.get_files(module_path, (".xml",)) + + replaces = { + "oe_kanban_global_click_edit": "", + "oe_kanban_global_click": "", + } + + for file in files_to_process: + try: + tools._replace_in_file( + file, + replaces, + log_message=f"Remove deprecated kanban click classes in file: {file}", + ) + except Exception as e: + logger.error(f"Error processing file {file}: {str(e)}") + + class MigrationScript(BaseMigrationScript): _GLOBAL_FUNCTIONS = [ replace_unaccent_parameter, replace_deprecated_kanban_box_card_menu, + remove_deprecated_kanban_click_classes, replace_tree_with_list_in_views, replace_chatter_blocks, replace_user_has_groups, diff --git a/tests/data_result/module_170_180/views/res_partner.xml b/tests/data_result/module_170_180/views/res_partner.xml index 47037d1a..4e8d1253 100644 --- a/tests/data_result/module_170_180/views/res_partner.xml +++ b/tests/data_result/module_170_180/views/res_partner.xml @@ -115,4 +115,40 @@ + + res.partner.view.kanban + res.partner + + + + +
+
+ +
+
+
+
+
+
+
+ + + res.partner.view.kanban + res.partner + + + + +
+
+ +
+
+
+
+
+
+
+ diff --git a/tests/data_template/module_170/views/res_partner.xml b/tests/data_template/module_170/views/res_partner.xml index 09251e14..551f73b7 100644 --- a/tests/data_template/module_170/views/res_partner.xml +++ b/tests/data_template/module_170/views/res_partner.xml @@ -124,4 +124,40 @@
+ + res.partner.view.kanban + res.partner + + + + +
+
+ +
+
+
+
+
+
+
+ + + res.partner.view.kanban + res.partner + + + + +
+
+ +
+
+
+
+
+
+
+ From 10d35b1466dfca88bb41802df20fbda5cddecfa5 Mon Sep 17 00:00:00 2001 From: Lukas Tran Date: Wed, 20 Nov 2024 18:36:11 +0700 Subject: [PATCH 11/24] [IMP] remove deprecated `oe_kanban_colorpicker` and warning deprecated `kanban_color`, `kanban_getcolor`, `kanban_getcolorname` --- .../migration_scripts/migrate_170_180.py | 28 +++++++++++++++++++ .../migrate_170_180/kanban_color.yaml | 2 ++ .../module_170_180/views/res_partner.xml | 2 ++ .../module_170/views/res_partner.xml | 8 ++++++ 4 files changed, 40 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/kanban_color.yaml diff --git a/odoo_module_migrate/migration_scripts/migrate_170_180.py b/odoo_module_migrate/migration_scripts/migrate_170_180.py index 3452b5cb..3c84d0dc 100644 --- a/odoo_module_migrate/migration_scripts/migrate_170_180.py +++ b/odoo_module_migrate/migration_scripts/migrate_170_180.py @@ -266,11 +266,39 @@ def remove_deprecated_kanban_click_classes( logger.error(f"Error processing file {file}: {str(e)}") +def replace_kanban_color_picker_widget( + logger, module_path, module_name, manifest_path, migration_steps, tools +): + files_to_process = tools.get_files(module_path, (".xml",)) + + replaces = { + # Case 1: Match any ul tag containing both oe_kanban_colorpicker class and data-field + # Example:
    + # Example:
      + r']*?class="[^"]*?oe_kanban_colorpicker[^"]*?"[^>]*?data-field="([^"]+)"[^>]*?>(?:
    )?': r'', + # Case 2: Same as Case 1 but with data-field appearing before class + # Example:
      + # Example:
        + r']*?data-field="([^"]+)"[^>]*?class="[^"]*?oe_kanban_colorpicker[^"]*?"[^>]*?>(?:
      )?': r'', + } + + for file in files_to_process: + try: + tools._replace_in_file( + file, + replaces, + log_message=f"Replace kanban colorpicker with field widget in file: {file}", + ) + except Exception as e: + logger.error(f"Error processing file {file}: {str(e)}") + + class MigrationScript(BaseMigrationScript): _GLOBAL_FUNCTIONS = [ replace_unaccent_parameter, replace_deprecated_kanban_box_card_menu, remove_deprecated_kanban_click_classes, + replace_kanban_color_picker_widget, replace_tree_with_list_in_views, replace_chatter_blocks, replace_user_has_groups, diff --git a/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/kanban_color.yaml b/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/kanban_color.yaml new file mode 100644 index 00000000..5cd9e898 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/kanban_color.yaml @@ -0,0 +1,2 @@ +.xml: + (?:t-attf-class|class)="[^"]*(?:kanban_getcolor|kanban_color|kanban_getcolorname)\([^"]*"|class="[^"]*oe_kanban_color_\d+[^"]*": "[18.0] Kanban color methods (kanban_getcolor, kanban_color, kanban_getcolorname) and static color classes (oe_kanban_color_X) have been deprecated in favor of the highlight_color attribute on kanban root node. This attribute will properly color the left border of the kanban cards. No need to set color classes or use color methods anymore. These methods will be removed in 18.0. More details: https://github.com/odoo/odoo/pull/167751" diff --git a/tests/data_result/module_170_180/views/res_partner.xml b/tests/data_result/module_170_180/views/res_partner.xml index 4e8d1253..d59e3555 100644 --- a/tests/data_result/module_170_180/views/res_partner.xml +++ b/tests/data_result/module_170_180/views/res_partner.xml @@ -126,6 +126,7 @@
      + @@ -144,6 +145,7 @@
      + diff --git a/tests/data_template/module_170/views/res_partner.xml b/tests/data_template/module_170/views/res_partner.xml index 551f73b7..f398f104 100644 --- a/tests/data_template/module_170/views/res_partner.xml +++ b/tests/data_template/module_170/views/res_partner.xml @@ -135,6 +135,10 @@
      +
        @@ -153,6 +157,10 @@
        +
          From 0b15b651077ea325e421755b9ccaf5d80b3a2c16 Mon Sep 17 00:00:00 2001 From: Lukas Tran Date: Thu, 21 Nov 2024 15:25:51 +0700 Subject: [PATCH 12/24] [IMP] remove deprecated kanban-tooltip --- .../migration_scripts/migrate_170_180.py | 26 +++++++++++++++++++ .../module_170_180/views/res_partner.xml | 13 +++++++--- .../module_170/views/res_partner.xml | 18 ++++++++++--- 3 files changed, 51 insertions(+), 6 deletions(-) diff --git a/odoo_module_migrate/migration_scripts/migrate_170_180.py b/odoo_module_migrate/migration_scripts/migrate_170_180.py index 3c84d0dc..7eae6722 100644 --- a/odoo_module_migrate/migration_scripts/migrate_170_180.py +++ b/odoo_module_migrate/migration_scripts/migrate_170_180.py @@ -293,12 +293,38 @@ def replace_kanban_color_picker_widget( logger.error(f"Error processing file {file}: {str(e)}") +def remove_kanban_tooltip( + logger, module_path, module_name, manifest_path, migration_steps, tools +): + files_to_process = tools.get_files(module_path, (".xml",)) + reg_tooltip_template = ( + r"""]*>[\s\S]*?\s*""" + ) + reg_tooltip_attr = r"""\s+tooltip=["']kanban-tooltip["']""" + + replaces = { + reg_tooltip_template: "", + reg_tooltip_attr: "", + } + + for file in files_to_process: + try: + tools._replace_in_file( + file, + replaces, + log_message=f"Removed kanban tooltip feature in file: {file}", + ) + except Exception as e: + logger.error(f"Error processing file {file}: {str(e)}") + + class MigrationScript(BaseMigrationScript): _GLOBAL_FUNCTIONS = [ replace_unaccent_parameter, replace_deprecated_kanban_box_card_menu, remove_deprecated_kanban_click_classes, replace_kanban_color_picker_widget, + remove_kanban_tooltip, replace_tree_with_list_in_views, replace_chatter_blocks, replace_user_has_groups, diff --git a/tests/data_result/module_170_180/views/res_partner.xml b/tests/data_result/module_170_180/views/res_partner.xml index d59e3555..9aeb5cb1 100644 --- a/tests/data_result/module_170_180/views/res_partner.xml +++ b/tests/data_result/module_170_180/views/res_partner.xml @@ -14,7 +14,7 @@ - + res.partner.form res.partner @@ -124,7 +124,7 @@
          - +
          @@ -143,7 +143,14 @@
          - +

          + +

          + +

          + +

          +
          diff --git a/tests/data_template/module_170/views/res_partner.xml b/tests/data_template/module_170/views/res_partner.xml index f398f104..1a819199 100644 --- a/tests/data_template/module_170/views/res_partner.xml +++ b/tests/data_template/module_170/views/res_partner.xml @@ -14,7 +14,7 @@
          - + res.partner.form res.partner @@ -133,7 +133,7 @@
          - +
            + +
              +
            • kanban-tooltip test
            • +
            +
            - +

            + +

            + +

            + +

            +
              Date: Thu, 21 Nov 2024 16:44:08 +0700 Subject: [PATCH 13/24] [IMP] warning deprecated kanban_image --- .../text_warnings/migrate_170_180/kanban_image.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/kanban_image.yaml diff --git a/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/kanban_image.yaml b/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/kanban_image.yaml new file mode 100644 index 00000000..ff92cd58 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_warnings/migrate_170_180/kanban_image.yaml @@ -0,0 +1,2 @@ +.xml: + kanban_image\(['"][^'"]+["']\s*,\s*['"][^'"]+["']\s*,\s*[^)]+\): "[18.0] The kanban_image helper is deprecated in favor of . More details: https://github.com/odoo/odoo/pull/167751/commits/6c5896724abee4cee0a26d0b41de9781c8e51621" From 79a4bddddde557188688c2a4358767b266599904 Mon Sep 17 00:00:00 2001 From: Lukas Tran Date: Thu, 21 Nov 2024 17:53:25 +0700 Subject: [PATCH 14/24] [IMP] Changed type='edit' to type='open' to open records --- .../migration_scripts/migrate_170_180.py | 24 +++++++++++++++++++ .../module_170_180/views/res_partner.xml | 7 ++++++ .../module_170/views/res_partner.xml | 7 ++++++ 3 files changed, 38 insertions(+) diff --git a/odoo_module_migrate/migration_scripts/migrate_170_180.py b/odoo_module_migrate/migration_scripts/migrate_170_180.py index 7eae6722..96192843 100644 --- a/odoo_module_migrate/migration_scripts/migrate_170_180.py +++ b/odoo_module_migrate/migration_scripts/migrate_170_180.py @@ -318,6 +318,29 @@ def remove_kanban_tooltip( logger.error(f"Error processing file {file}: {str(e)}") +def replace_type_edit( + logger, module_path, module_name, manifest_path, migration_steps, tools +): + """Replace type='edit' with type='open' in elements.""" + files_to_process = tools.get_files(module_path, (".xml",)) + + reg_type_edit = r"""type=["']edit["']""" + + replaces = { + reg_type_edit: 'type="open"', + } + + for file in files_to_process: + try: + tools._replace_in_file( + file, + replaces, + log_message=f"Replaced type='edit' with type='open' in file: {file}", + ) + except Exception as e: + logger.error(f"Error processing file {file}: {str(e)}") + + class MigrationScript(BaseMigrationScript): _GLOBAL_FUNCTIONS = [ replace_unaccent_parameter, @@ -325,6 +348,7 @@ class MigrationScript(BaseMigrationScript): remove_deprecated_kanban_click_classes, replace_kanban_color_picker_widget, remove_kanban_tooltip, + replace_type_edit, replace_tree_with_list_in_views, replace_chatter_blocks, replace_user_has_groups, diff --git a/tests/data_result/module_170_180/views/res_partner.xml b/tests/data_result/module_170_180/views/res_partner.xml index 9aeb5cb1..83f17f15 100644 --- a/tests/data_result/module_170_180/views/res_partner.xml +++ b/tests/data_result/module_170_180/views/res_partner.xml @@ -153,6 +153,13 @@
            +
          diff --git a/tests/data_template/module_170/views/res_partner.xml b/tests/data_template/module_170/views/res_partner.xml index 1a819199..3e20db84 100644 --- a/tests/data_template/module_170/views/res_partner.xml +++ b/tests/data_template/module_170/views/res_partner.xml @@ -173,6 +173,13 @@ data-field="color" modifiers="{}" /> + From 385e7f12df98013bf1cac07ead4ee9022c15c76d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Duy=20=28=C4=90=E1=BB=97=20Anh=29?= Date: Wed, 27 Nov 2024 17:45:47 +0700 Subject: [PATCH 15/24] [IMP] tools.get_file to support single extension --- odoo_module_migrate/tools.py | 3 +++ tests/data_result/module_170_180/security/ir.model.access.csv | 1 + tests/data_template/module_170/security/ir.model.access.csv | 1 + 3 files changed, 5 insertions(+) create mode 100644 tests/data_result/module_170_180/security/ir.model.access.csv create mode 100644 tests/data_template/module_170/security/ir.model.access.csv diff --git a/odoo_module_migrate/tools.py b/odoo_module_migrate/tools.py index 7618bcc4..e5ce4b46 100644 --- a/odoo_module_migrate/tools.py +++ b/odoo_module_migrate/tools.py @@ -75,6 +75,9 @@ def get_files(module_path, extensions): if not module_dir.is_dir(): raise Exception(f"'{module_path}' is not a valid directory.") + if isinstance(extensions, str): + extensions = (extensions,) + for ext in extensions: file_paths.extend(module_dir.rglob(f"*{ext}")) diff --git a/tests/data_result/module_170_180/security/ir.model.access.csv b/tests/data_result/module_170_180/security/ir.model.access.csv new file mode 100644 index 00000000..97dd8b91 --- /dev/null +++ b/tests/data_result/module_170_180/security/ir.model.access.csv @@ -0,0 +1 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink diff --git a/tests/data_template/module_170/security/ir.model.access.csv b/tests/data_template/module_170/security/ir.model.access.csv new file mode 100644 index 00000000..97dd8b91 --- /dev/null +++ b/tests/data_template/module_170/security/ir.model.access.csv @@ -0,0 +1 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink From e7fc0d40f921596c5c82daa60b741d298d8f25a4 Mon Sep 17 00:00:00 2001 From: BT-dherreros Date: Fri, 25 Apr 2025 10:28:57 +0200 Subject: [PATCH 16/24] [UPG] Base migration upgrade for fields rename. --- odoo_module_migrate/base_migration_script.py | 30 ++++++- .../removed_fields/migrate_130_140/mail.yaml | 2 +- .../migrate_150_160/account.yaml | 2 +- .../migrate_150_160/product.yaml | 2 +- .../removed_fields/migrate_160_170/hr.yaml | 2 +- .../migrate_120_130/removed_models.yaml | 2 + .../migrate_140_150/removed_models.yaml | 2 + .../migrate_120_130/account.yaml | 1 + .../renamed_fields/migrate_120_130/base.yaml | 2 + .../renamed_fields/migrate_120_130/hr.yaml | 1 + .../migrate_120_130/payment.yaml | 1 + .../migrate_130_140/account.yaml | 7 +- .../migrate_130_140/company.yaml | 1 + .../migrate_140_150/calendar.yaml | 14 +++ .../migrate_140_150/payment.yaml | 1 + .../migrate_150_160/account.yaml | 7 +- .../renamed_fields/migrate_150_160/hr.yaml | 2 +- .../migrate_150_160/inventory.yaml | 1 + .../migrate_150_160/payment.yaml | 1 + .../renamed_fields/migrate_150_160/stock.yaml | 2 +- .../renamed_fields/migrate_150_160/utm.yaml | 1 + .../migrate_150_160/renamed_models.yaml | 2 +- odoo_module_migrate/tools.py | 90 +++++++++++++++++++ .../module_130_140/models/account_move.py | 12 +++ .../module_130_140/views/account_move.xml | 13 +++ .../module_130/models/account_move.py | 12 +++ .../module_130/views/account_move.xml | 13 +++ 27 files changed, 209 insertions(+), 17 deletions(-) create mode 100644 odoo_module_migrate/migration_scripts/removed_models/migrate_120_130/removed_models.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_models/migrate_140_150/removed_models.yaml create mode 100644 odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/account.yaml create mode 100644 odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/base.yaml create mode 100644 odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/hr.yaml create mode 100644 odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/payment.yaml create mode 100644 odoo_module_migrate/migration_scripts/renamed_fields/migrate_130_140/company.yaml create mode 100644 odoo_module_migrate/migration_scripts/renamed_fields/migrate_140_150/calendar.yaml create mode 100644 odoo_module_migrate/migration_scripts/renamed_fields/migrate_140_150/payment.yaml create mode 100644 odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/inventory.yaml create mode 100644 odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/payment.yaml create mode 100644 odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/utm.yaml create mode 100644 tests/data_result/module_130_140/models/account_move.py create mode 100644 tests/data_result/module_130_140/views/account_move.xml create mode 100644 tests/data_template/module_130/models/account_move.py create mode 100644 tests/data_template/module_130/views/account_move.xml diff --git a/odoo_module_migrate/base_migration_script.py b/odoo_module_migrate/base_migration_script.py index 2d225c4d..715216fd 100644 --- a/odoo_module_migrate/base_migration_script.py +++ b/odoo_module_migrate/base_migration_script.py @@ -208,10 +208,17 @@ def process_file( replaces.update(self._TEXT_REPLACES.get(extension, {})) replaces.update(renamed_models.get("replaces")) replaces.update(removed_models.get("replaces")) - new_text = tools._replace_in_file( absolute_file_path, replaces, "Change file content of %s" % filename ) + field_renames = renamed_fields.get("replaces") + # To be safe we only rename fields on files associated with the current replaces + if field_renames: + new_text = tools._replace_field_names( + absolute_file_path, + field_renames, + "Updated field names of %s" % filename, + ) # Display errors if the new content contains some obsolete # pattern @@ -260,17 +267,32 @@ def handle_renamed_fields(self, removed_fields): For now this handler is simple but the idea would be to improve it with deeper analysis and direct replaces if it is possible and secure. For that analysis model_name could be used + It also will add to the replaces key of the returned dictionary a key value pair + to be used in _replace_in_file """ - res = {} + res = {"warnings": {}, "replaces": {}} + res["replaces"] = {} for model_name, old_field_name, new_field_name, more_info in removed_fields: + # if model_name in res['replaces']: + # res['replaces'][model_name].update({old_field_name: new_field_name,}) + # else: + model_info = res["replaces"].get(model_name) + if model_info: + model_info.update({old_field_name: new_field_name}) + else: + res["replaces"].update({model_name: {old_field_name: new_field_name}}) msg = "On the model %s, the field %s was renamed to %s.%s" % ( model_name, old_field_name, new_field_name, " %s" % more_info if more_info else "", ) - res[r"""(['"]{0}['"]|\.{0}[\s,=])""".format(old_field_name)] = msg - return {"warnings": res} + res["warnings"].update( + { + r"""(['"]{0}['"]|\.{0}[\s,=])""".format(old_field_name): msg, + } + ) + return res def handle_deprecated_modules(self, manifest_path, deprecated_modules): current_manifest_text = tools._read_content(manifest_path) diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mail.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mail.yaml index 181be944..4715fdba 100644 --- a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mail.yaml +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mail.yaml @@ -1 +1 @@ -- ['mail.template', 'user_signature', 'Commit https://github.com/odoo/odoo/commit/de1743ab'] +- ["mail.template", "user_signature", "Commit https://github.com/odoo/odoo/commit/de1743ab"] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/account.yaml index f9e8d781..2fb665a2 100644 --- a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/account.yaml +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/account.yaml @@ -1 +1 @@ -- ['account.move.line', 'exclude_from_invoice_tab', 'Commit https://github.com/odoo/odoo/commit/d8d47f9ff8554f4b39487fd2f13c153c7d6f958d'] +- ["account.move.line", "exclude_from_invoice_tab", "Commit https://github.com/odoo/odoo/commit/d8d47f9ff8554f4b39487fd2f13c153c7d6f958d"] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/product.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/product.yaml index e968aac1..cbe90e6e 100644 --- a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/product.yaml +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/product.yaml @@ -1 +1 @@ -- ['product.product', 'price', 'Commit https://github.com/odoo/odoo/commit/9e99a9df464d97a74ca320d'] +- ["product.product", "price", "Commit https://github.com/odoo/odoo/commit/9e99a9df464d97a74ca320d"] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr.yaml index 00ef5d9a..a98917a7 100644 --- a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr.yaml +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr.yaml @@ -1 +1 @@ -- ['hr.expense', 'reference', 'Commit https://github.com/odoo/odoo/commit/68fbdc964038ef6a1cf0d3df773db101ca81794a'] +- ["hr.expense", "reference", "Commit https://github.com/odoo/odoo/commit/68fbdc964038ef6a1cf0d3df773db101ca81794a"] diff --git a/odoo_module_migrate/migration_scripts/removed_models/migrate_120_130/removed_models.yaml b/odoo_module_migrate/migration_scripts/removed_models/migrate_120_130/removed_models.yaml new file mode 100644 index 00000000..ff246f0a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_models/migrate_120_130/removed_models.yaml @@ -0,0 +1,2 @@ +- ["account.invoice", "Commit https://github.com/odoo/odoo/commit/bc131c0cfb51c953de8ec41fb820c8c7831eefb5"] +- ["account.invoice.line", "Commit https://github.com/odoo/odoo/commit/bc131c0cfb51c953de8ec41fb820c8c7831eefb5"] diff --git a/odoo_module_migrate/migration_scripts/removed_models/migrate_140_150/removed_models.yaml b/odoo_module_migrate/migration_scripts/removed_models/migrate_140_150/removed_models.yaml new file mode 100644 index 00000000..cd3af353 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_models/migrate_140_150/removed_models.yaml @@ -0,0 +1,2 @@ +- ["stock.inventory", "Commit https://github.com/odoo/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b"] +- ["stock.inventory.line", "Commit https://github.com/odoo/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/account.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/account.yaml new file mode 100644 index 00000000..4091ccc5 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/account.yaml @@ -0,0 +1 @@ +- ["account.invoice.report", "product_qty", "quantity", "Commit https://github.com/odoo/odoo/commit/bc131c0cfb51c953de8ec41fb820c8c7831eefb5"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/base.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/base.yaml new file mode 100644 index 00000000..27ca737b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/base.yaml @@ -0,0 +1,2 @@ +- ["image.mixin", "image_original", "image_1920", "Commit https://github.com/odoo/odoo/commit/58a2ffa26f1a3b0f9630ce16d11b758d18e20a21"] +- ["mail.channel", "image", "image_128", "Commit https://github.com/odoo/odoo/commit/f0ffbea17381cb117f2eed4ea18a76e2b0f37f00"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/hr.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/hr.yaml new file mode 100644 index 00000000..0058359d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/hr.yaml @@ -0,0 +1 @@ +- ["hr.plan.activity.type", "name", "summary", "Commit https://github.com/odoo/odoo/commit/bea9662632274ea7af669a7e73d66cfed54a2c9f"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/payment.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/payment.yaml new file mode 100644 index 00000000..d5c1ec20 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_120_130/payment.yaml @@ -0,0 +1 @@ +- ["payment.acquirer", "image", "image_128", "Commit https://github.com/odoo/odoo/commit/f0ffbea17381cb117f2eed4ea18a76e2b0f37f00"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_130_140/account.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_130_140/account.yaml index e05b1cda..b7f708d2 100644 --- a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_130_140/account.yaml +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_130_140/account.yaml @@ -1,3 +1,4 @@ -- ['account.move', 'type', 'move_type', 'Commit https://github.com/odoo/odoo/commit/d675dbaa4c7174591e0e7c1a3caf3e76877312ce'] -- ['account.move', 'invoice_payment_state', 'payment_state', 'Commit https://github.com/odoo/odoo/commit/8e4158af810bcf475214946fa64d3b0ce4d3b26d'] -- ['account.move', 'invoice_sent', 'is_move_sent', 'Commit https://github.com/odoo/odoo/commit/caeb782841fc5a7ad71a196e2c9ee67644ef9074'] +- ["account.move", "type", "move_type", "Commit https://github.com/odoo/odoo/commit/d675dbaa4c7174591e0e7c1a3caf3e76877312ce"] +- ["account.move", "invoice_payment_state", "payment_state", "Commit https://github.com/odoo/odoo/commit/8e4158af810bcf475214946fa64d3b0ce4d3b26d"] +- ["account.move", "invoice_sent", "is_move_sent", "Commit https://github.com/odoo/odoo/commit/caeb782841fc5a7ad71a196e2c9ee67644ef9074"] +- ["account.bank.statement.line", "name", "payment_ref", "Commit https://github.com/odoo/odoo/commit/caeb782841fc5a7ad71a196e2c9ee67644ef9074"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_130_140/company.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_130_140/company.yaml new file mode 100644 index 00000000..e537b6dd --- /dev/null +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_130_140/company.yaml @@ -0,0 +1 @@ +- ["res.company", "accrual_default_journal_id", "automatic_entry_default_journal_id", "Commit https://github.com/odoo/odoo/commit/0ea9254c81ea42a7fd9af455f05d70e3ca227460"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_140_150/calendar.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_140_150/calendar.yaml new file mode 100644 index 00000000..22b74809 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_140_150/calendar.yaml @@ -0,0 +1,14 @@ +- ["calendar.event", "mo", "mon", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.event", "tu", "tue", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.event", "we", "wed", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.event", "th", "thu", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.event", "fr", "fri", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.event", "sa", "sat", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.event", "su", "sun", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.recurrence", "mo", "mon", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.recurrence", "tu", "tue", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.recurrence", "we", "wed", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.recurrence", "th", "thu", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.recurrence", "fr", "fri", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.recurrence", "sa", "sat", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] +- ["calendar.recurrence", "su", "sun", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_140_150/payment.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_140_150/payment.yaml new file mode 100644 index 00000000..75484fdb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_140_150/payment.yaml @@ -0,0 +1 @@ +- ["payment.transaction", "date", "last_state_change", "Commit https://github.com/odoo/odoo/commit/f3fe2d50d99698eb0261c2309bd63f9f64b3d703"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/account.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/account.yaml index d0a2a63c..ce904656 100644 --- a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/account.yaml +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/account.yaml @@ -1,3 +1,4 @@ -- ['account.account', 'user_type_id', 'account_type', 'Commit https://github.com/odoo/odoo/commit/26b2472f4977ccedbb0b5ed5f'] -- ['account.account', 'internal_type', 'account_type', 'Commit https://github.com/odoo/odoo/commit/26b2472f4977ccedbb0b5ed5f08be2c04313fd21'] -- ['account.move.line', 'analytic_account_id', 'analytic_distribution', 'Commit https://github.com/odoo/odoo/commit/7064c95aa04e5138bb12ae97acfee04ebb67cc0e'] +- ["account.account", "user_type_id", "account_type", "Commit https://github.com/odoo/odoo/commit/26b2472f4977ccedbb0b5ed5f"] +- ["account.account", "internal_type", "account_type", "Commit https://github.com/odoo/odoo/commit/26b2472f4977ccedbb0b5ed5f08be2c04313fd21"] +- ["account.move.line", "analytic_account_id", "analytic_distribution", "Commit https://github.com/odoo/odoo/commit/7064c95aa04e5138bb12ae97acfee04ebb67cc0e"] +- ["account.analytic.line", "move_id", "move_line_id", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/hr.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/hr.yaml index e301c1b5..6be12d68 100644 --- a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/hr.yaml +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/hr.yaml @@ -1 +1 @@ -- ['hr.expense', 'analytic_account_id', 'analytic_distribution', 'Commit https://github.com/odoo/odoo/commit/7e3403068fc3fbc40182b3cfeb80e97a9300e8ff'] +- ["hr.expense", "analytic_account_id", "analytic_distribution", "Commit https://github.com/odoo/odoo/commit/7e3403068fc3fbc40182b3cfeb80e97a9300e8ff"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/inventory.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/inventory.yaml new file mode 100644 index 00000000..c3aac4ea --- /dev/null +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/inventory.yaml @@ -0,0 +1 @@ +- ["product.supplierinfo", "name", "partner_id", "Commit https://github.com/odoo/odoo/commit/f3fe2d50d99698eb0261c2309bd63f9f64b3d703"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/payment.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/payment.yaml new file mode 100644 index 00000000..dc30bbfa --- /dev/null +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/payment.yaml @@ -0,0 +1 @@ +- ["payment.token", "name", "payment_details", "Commit https://github.com/odoo/odoo/commit/c1b41bcd08ea26032904b3fdd34d743f4342ac62"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/stock.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/stock.yaml index 7eda4428..90c1e87f 100644 --- a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/stock.yaml +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/stock.yaml @@ -1 +1 @@ -- ['stock.move.line', 'product_qty', 'reserved_qty', 'Commit https://github.com/odoo/odoo/commit/56e7bcf0cb88acf3d60420569ab3eea9bdb19bdb'] +- ["stock.move.line", "product_qty", "reserved_qty", "Commit https://github.com/odoo/odoo/commit/56e7bcf0cb88acf3d60420569ab3eea9bdb19bdb"] diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/utm.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/utm.yaml new file mode 100644 index 00000000..94773edb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_150_160/utm.yaml @@ -0,0 +1 @@ +- ["utm.campaign", "name", "title", "Commit https://github.com/odoo/odoo/commit/4dbcefb5e5b1878e81fe9be9fe48a785f813334f"] diff --git a/odoo_module_migrate/migration_scripts/renamed_models/migrate_150_160/renamed_models.yaml b/odoo_module_migrate/migration_scripts/renamed_models/migrate_150_160/renamed_models.yaml index eba0e19f..7c28aa2b 100644 --- a/odoo_module_migrate/migration_scripts/renamed_models/migrate_150_160/renamed_models.yaml +++ b/odoo_module_migrate/migration_scripts/renamed_models/migrate_150_160/renamed_models.yaml @@ -1 +1 @@ -- ["stock.production.lot", "stock.lot", None] +- ["stock.production.lot", "stock.lot", "Commit https://github.com/odoo/odoo/commit/573ed74c121c1572b3fab6f9553ed7f93f7b3f99"] diff --git a/odoo_module_migrate/tools.py b/odoo_module_migrate/tools.py index e5ce4b46..b34aa783 100644 --- a/odoo_module_migrate/tools.py +++ b/odoo_module_migrate/tools.py @@ -5,11 +5,19 @@ import subprocess import re import pathlib +from lxml import etree +from dataclasses import fields from .config import _AVAILABLE_MIGRATION_STEPS from .log import logger +CLASS_PATTERN = re.compile( + r"(class\s+\w+\s*\(\s*(?:\w+\.)?\w+(?:,\s*(?:\w+\.)?\w+)*\)\s*:\s*(?:\n\s+.*)+)", + re.MULTILINE, +) + + def _get_available_init_version_names(): return [x["init_version_name"] for x in _AVAILABLE_MIGRATION_STEPS] @@ -65,6 +73,60 @@ def _replace_in_file(file_path, replaces, log_message=False): return new_text +def _replace_field_names(file_path, replaces, log_message=False): + current_text = _read_content(file_path) + new_text = current_text + # if the field is a python file with _inherit = model_name or model.name + # we try to replace the fields + model = get_model(file_path) + if model in replaces: + model_field_name_replaces = replaces[model] + # This replace is more careful on when and where we do replaces because the idea is to only change field + # names instead of everywhere (i.e. changing move_type to type affects the arch type on xml files) + if ".xml" in file_path: + # replace only between inside the arch tags + xml_data_bytes = new_text.encode("utf-8") + root = etree.fromstring(xml_data_bytes) + archs = root.xpath('.//field[@name="arch"]') + # 3 looped for, not a good look + for arch in archs: + for elem in arch.iterdescendants(): + if elem.tag == "field": + for old_term, new_term in model_field_name_replaces.items(): + new_elem = etree.fromstring( + etree.tostring(elem) + .decode() + .replace('"' + old_term + '"', '"' + new_term + '"') + ) + # Keep the tailing chars to avoid breaking the clean structure of an xml + new_elem.tail = elem.tail + parent = elem.getparent() + if parent is not None: + parent.replace(elem, new_elem) + + new_text = etree.tostring( + root, pretty_print=True, xml_declaration=True, encoding="UTF-8" + ).decode() + new_text = re.sub( + r"<\?xml([^>]+)\?>", + lambda m: "", + new_text, + count=1, + ) + elif ".py" in file_path: + # replace only inside of classes + for old_term, new_term in model_field_name_replaces.items(): + new_text = replace_in_classes(new_text, old_term, new_term) + + # Write file if changed + if new_text != current_text: + if not log_message: + log_message = "Changing content of file: %s" % file_path.name + logger.info(log_message) + _write_content(file_path, new_text) + return new_text + + def get_files(module_path, extensions): """ Returns a list of files with the specified extensions within the module_path. @@ -82,3 +144,31 @@ def get_files(module_path, extensions): file_paths.extend(module_dir.rglob(f"*{ext}")) return file_paths + + +def get_model(absolute_filepath): + model = "" + match = "" + with open(absolute_filepath, "r") as file: + file_content = file.read() + if "xml" in absolute_filepath: + match = re.search( + r"([a-zA-Z0-9_.]+)", file_content + ) + elif "py" in absolute_filepath: + match = re.search(r"_inherit\s*=\s*['\"]([^'\"]+)['\"]", file_content) + if match: + model = match.group(1) + return model + + +def replace_in_classes(code, old_text, new_text): + # Find all classes in the code + classes = CLASS_PATTERN.findall(code) + + # Replace old_text with new_text in each class body + for cls in classes: + new_cls_code = re.sub(r"\b%s\b" % old_text, new_text, cls) + code = code.replace(cls, new_cls_code) + + return code diff --git a/tests/data_result/module_130_140/models/account_move.py b/tests/data_result/module_130_140/models/account_move.py new file mode 100644 index 00000000..e5bfd74b --- /dev/null +++ b/tests/data_result/module_130_140/models/account_move.py @@ -0,0 +1,12 @@ +from odoo import api, fields, models + + +class AccountMove(models.Model): + _inherit = 'account.move' + + dummy_type = fields.Selection() + + @api.depends('move_type') + def _compute_dummy(self): + for move in self: + move.dummy_type = move.move_type diff --git a/tests/data_result/module_130_140/views/account_move.xml b/tests/data_result/module_130_140/views/account_move.xml new file mode 100644 index 00000000..32840366 --- /dev/null +++ b/tests/data_result/module_130_140/views/account_move.xml @@ -0,0 +1,13 @@ + + + + account.move.form + account.move + + + + + + + + diff --git a/tests/data_template/module_130/models/account_move.py b/tests/data_template/module_130/models/account_move.py new file mode 100644 index 00000000..9d39c904 --- /dev/null +++ b/tests/data_template/module_130/models/account_move.py @@ -0,0 +1,12 @@ +from odoo import api, fields, models + + +class AccountMove(models.Model): + _inherit = 'account.move' + + dummy_type = fields.Selection() + + @api.depends('type') + def _compute_dummy(self): + for move in self: + move.dummy_type = move.type diff --git a/tests/data_template/module_130/views/account_move.xml b/tests/data_template/module_130/views/account_move.xml new file mode 100644 index 00000000..99ad96e9 --- /dev/null +++ b/tests/data_template/module_130/views/account_move.xml @@ -0,0 +1,13 @@ + + + + account.move.form + account.move + + + + + + + + From 874cc7eb71dc42dccabdac3acd3eb151f6f34af5 Mon Sep 17 00:00:00 2001 From: thien Date: Tue, 7 Jan 2025 15:52:32 +0700 Subject: [PATCH 17/24] [IMP] Warning for _invalidate_cache() --- .../text_warnings/migrate_160_allways/orm_methods.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/text_warnings/migrate_160_allways/orm_methods.yaml diff --git a/odoo_module_migrate/migration_scripts/text_warnings/migrate_160_allways/orm_methods.yaml b/odoo_module_migrate/migration_scripts/text_warnings/migrate_160_allways/orm_methods.yaml new file mode 100644 index 00000000..730a4f15 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_warnings/migrate_160_allways/orm_methods.yaml @@ -0,0 +1,2 @@ +.py: + (_invalidate_cache\(.*\)): "[16+] Please avoid using the private method _invalidate_cache(). Instead, use the appropriate public method such as invalidate_model(), invalidate_recordset(), or env.invalidate_all() to ensure better maintainability, compatibility, and adherence to Odoo's API standards." From 095965f9dddb8e113b84fb269ddcc68416e90993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Alix?= Date: Thu, 3 Apr 2025 12:17:55 +0200 Subject: [PATCH 18/24] [ADD] stock: renamed/removed 'stock.move.line' fields from 15.0 to 16.0 --- .../renamed_fields/migrate_160_170/stock.yaml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/renamed_fields/migrate_160_170/stock.yaml diff --git a/odoo_module_migrate/migration_scripts/renamed_fields/migrate_160_170/stock.yaml b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_160_170/stock.yaml new file mode 100644 index 00000000..b1a1f6f5 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/renamed_fields/migrate_160_170/stock.yaml @@ -0,0 +1,3 @@ +- ['stock.move.line', 'reserved_uom_qty', 'quantity', 'Commit https://github.com/odoo/odoo/commit/7dda6bb92715ea25b2818a62fec5e646f3678b81'] +- ['stock.move.line', 'qty_done', 'quantity', 'Commit https://github.com/odoo/odoo/commit/7dda6bb92715ea25b2818a62fec5e646f3678b81'] +- ['stock.move.line', 'reserved_qty', 'quantity_product_uom', 'Commit https://github.com/odoo/odoo/commit/7dda6bb92715ea25b2818a62fec5e646f3678b81'] From f7edb43070213433635c6aaa02281a82e782f595 Mon Sep 17 00:00:00 2001 From: thienvh Date: Mon, 25 Aug 2025 16:00:14 +0700 Subject: [PATCH 19/24] [IMP] Update removed_models and removed_fields datasets based on OpenUpgrade/upgrade_analysis.txt --- .../migrate_130_140/account.yaml | 79 ++++++++ .../removed_fields/migrate_130_140/base.yaml | 5 + .../migrate_130_140/base_automation.yaml | 1 + .../migrate_130_140/calendar.yaml | 8 + .../removed_fields/migrate_130_140/crm.yaml | 1 + .../migrate_130_140/delivery.yaml | 2 + .../migrate_130_140/digest.yaml | 1 + .../removed_fields/migrate_130_140/event.yaml | 12 ++ .../migrate_130_140/event_sale.yaml | 7 + .../removed_fields/migrate_130_140/fleet.yaml | 31 +++ .../migrate_130_140/gamification.yaml | 1 + .../migrate_130_140/google_calendar.yaml | 4 + .../migrate_130_140/hr_contract.yaml | 2 + .../migrate_130_140/hr_holidays.yaml | 1 + .../migrate_130_140/hr_maintenance.yaml | 1 + .../hr_recruitment_survey.yaml | 1 + .../migrate_130_140/l10n_ar.yaml | 2 + .../migrate_130_140/l10n_co.yaml | 1 + .../migrate_130_140/l10n_in.yaml | 2 + .../l10n_latam_invoice_document.yaml | 1 + .../migrate_130_140/link_tracker.yaml | 1 + .../removed_fields/migrate_130_140/mail.yaml | 4 +- .../removed_fields/migrate_130_140/mrp.yaml | 36 ++++ .../migrate_130_140/point_of_sale.yaml | 4 + .../migrate_130_140/product.yaml | 1 + .../migrate_130_140/product_expiry.yaml | 2 + .../migrate_130_140/project.yaml | 1 + .../migrate_130_140/purchase_stock.yaml | 2 + .../migrate_130_140/sale_management.yaml | 4 + .../migrate_130_140/sale_timesheet.yaml | 2 + .../removed_fields/migrate_130_140/stock.yaml | 9 + .../migrate_130_140/survey.yaml | 19 ++ .../migrate_130_140/test_mail.yaml | 31 +++ .../migrate_130_140/test_mail_full.yaml | 1 + .../migrate_130_140/test_mass_mailing.yaml | 17 ++ .../removed_fields/migrate_130_140/uom.yaml | 2 + .../website_crm_partner_assign.yaml | 1 + .../website_event_questions.yaml | 4 + .../migrate_130_140/website_form.yaml | 1 + .../migrate_130_140/website_forum.yaml | 1 + .../migrate_130_140/website_mail.yaml | 1 + .../migrate_130_140/website_rating.yaml | 1 + .../migrate_130_140/website_sale.yaml | 2 + .../migrate_130_140/website_slides.yaml | 1 + .../website_slides_survey.yaml | 1 + .../migrate_140_150/account.yaml | 14 ++ .../migrate_140_150/calendar.yaml | 14 ++ .../migrate_140_150/crm_iap_lead.yaml | 2 + .../migrate_140_150/delivery.yaml | 6 + .../removed_fields/migrate_140_150/event.yaml | 14 ++ .../migrate_140_150/event_sale.yaml | 1 + .../migrate_140_150/event_sms.yaml | 2 + .../removed_fields/migrate_140_150/fleet.yaml | 1 + .../removed_fields/migrate_140_150/hr.yaml | 2 + .../migrate_140_150/hr_holidays.yaml | 12 ++ .../migrate_140_150/l10n_cl.yaml | 2 + .../migrate_140_150/l10n_eu_service.yaml | 2 + .../l10n_latam_invoice_document.yaml | 1 + .../removed_fields/migrate_140_150/lunch.yaml | 24 +++ .../removed_fields/migrate_140_150/mail.yaml | 24 +++ .../migrate_140_150/mass_mailing.yaml | 12 ++ .../removed_fields/migrate_140_150/pad.yaml | 2 + .../migrate_140_150/pad_project.yaml | 1 + .../migrate_140_150/payment.yaml | 12 ++ .../migrate_140_150/payment_adyen.yaml | 2 + .../payment_adyen_paybylink.yaml | 2 + .../migrate_140_150/payment_buckaroo.yaml | 2 + .../migrate_140_150/payment_ingenico.yaml | 1 + .../migrate_140_150/payment_paypal.yaml | 5 + .../migrate_140_150/payment_stripe.yaml | 2 + .../migrate_140_150/point_of_sale.yaml | 7 + .../migrate_140_150/portal.yaml | 1 + .../migrate_140_150/pos_adyen.yaml | 19 ++ .../migrate_140_150/project.yaml | 5 + .../project_timesheet_holidays.yaml | 1 + .../migrate_140_150/purchase_stock.yaml | 1 + .../migrate_140_150/sale_stock.yaml | 1 + .../migrate_140_150/sale_timesheet.yaml | 5 + .../removed_fields/migrate_140_150/sms.yaml | 1 + .../removed_fields/migrate_140_150/stock.yaml | 32 ++++ .../migrate_140_150/stock_account.yaml | 1 + .../migrate_140_150/survey.yaml | 1 + .../removed_fields/migrate_140_150/utm.yaml | 1 + .../website_event_questions.yaml | 1 + .../migrate_140_150/website_event_track.yaml | 2 + .../website_event_track_exhibitor.yaml | 1 + .../website_event_track_quiz.yaml | 1 + .../migrate_140_150/website_mass_mailing.yaml | 5 + .../migrate_140_150/website_sale_stock.yaml | 2 + .../migrate_150_160/account.yaml | 72 ++++++- .../migrate_150_160/analytic.yaml | 12 ++ .../removed_fields/migrate_150_160/base.yaml | 9 + .../base_address_extended.yaml | 1 + .../migrate_150_160/coupon.yaml | 23 +++ .../removed_fields/migrate_150_160/crm.yaml | 1 + .../migrate_150_160/delivery.yaml | 2 + .../removed_fields/migrate_150_160/event.yaml | 1 + .../migrate_150_160/fetchmail_gmail.yaml | 1 + .../migrate_150_160/fetchmail_outlook.yaml | 1 + .../migrate_150_160/google_calendar.yaml | 1 + .../migrate_150_160/google_gmail.yaml | 1 + .../removed_fields/migrate_150_160/hr.yaml | 1 + .../migrate_150_160/hr_expense.yaml | 2 + .../migrate_150_160/hr_holidays.yaml | 1 + .../migrate_150_160/hr_recruitment.yaml | 1 + .../migrate_150_160/hr_timesheet.yaml | 1 + .../migrate_150_160/l10n_ar.yaml | 1 + .../migrate_150_160/l10n_in_sale.yaml | 1 + .../migrate_150_160/l10n_it.yaml | 1 + .../migrate_150_160/l10n_it_edi.yaml | 6 + .../migrate_150_160/l10n_mx.yaml | 1 + .../migrate_150_160/l10n_rs.yaml | 1 + .../removed_fields/migrate_150_160/mail.yaml | 11 ++ .../migrate_150_160/mass_mailing.yaml | 6 + .../migrate_150_160/microsoft_outlook.yaml | 1 + .../removed_fields/migrate_150_160/mrp.yaml | 2 + .../migrate_150_160/note_pad.yaml | 1 + .../migrate_150_160/pad_project.yaml | 3 + .../migrate_150_160/payment.yaml | 13 ++ .../migrate_150_160/payment_adyen.yaml | 1 + .../migrate_150_160/payment_alipay.yaml | 5 + .../migrate_150_160/payment_authorize.yaml | 1 + .../migrate_150_160/payment_buckaroo.yaml | 1 + .../migrate_150_160/payment_mollie.yaml | 1 + .../migrate_150_160/payment_ogone.yaml | 6 + .../migrate_150_160/payment_paypal.yaml | 1 + .../migrate_150_160/payment_payulatam.yaml | 4 + .../migrate_150_160/payment_payumoney.yaml | 3 + .../migrate_150_160/payment_sips.yaml | 1 + .../migrate_150_160/payment_stripe.yaml | 1 + .../migrate_150_160/payment_transfer.yaml | 1 + .../migrate_150_160/point_of_sale.yaml | 12 ++ .../migrate_150_160/pos_coupon.yaml | 11 ++ .../migrate_150_160/pos_gift_card.yaml | 7 + .../migrate_150_160/pos_restaurant.yaml | 1 + .../pos_sale_product_configurator.yaml | 1 + .../migrate_150_160/product.yaml | 4 +- .../migrate_150_160/project.yaml | 3 + .../migrate_150_160/purchase.yaml | 2 + .../migrate_150_160/purchase_requisition.yaml | 3 + .../purchase_requisition_stock.yaml | 1 + .../migrate_150_160/resource.yaml | 4 + .../removed_fields/migrate_150_160/sale.yaml | 2 + .../migrate_150_160/sale_coupon.yaml | 4 + .../migrate_150_160/sale_expense.yaml | 1 + .../migrate_150_160/sale_gift_card.yaml | 4 + .../removed_fields/migrate_150_160/sms.yaml | 6 + .../removed_fields/migrate_150_160/stock.yaml | 4 + .../migrate_150_160/stock_account.yaml | 1 + .../migrate_150_160/survey.yaml | 2 + .../migrate_150_160/website.yaml | 8 + .../website_crm_partner_assign.yaml | 1 + .../migrate_150_160/website_event.yaml | 1 + .../migrate_150_160/website_sale.yaml | 2 + .../website_sale_gift_card.yaml | 1 + .../migrate_150_160/website_sale_stock.yaml | 2 + .../migrate_150_160/website_slides.yaml | 13 ++ .../migrate_160_170/account.yaml | 178 ++++++++++++++++++ .../account_edi_proxy_client.yaml | 1 + .../migrate_160_170/account_tax_python.yaml | 3 + .../migrate_160_170/analytic.yaml | 3 + .../removed_fields/migrate_160_170/base.yaml | 8 + .../migrate_160_170/base_automation.yaml | 2 + .../migrate_160_170/base_import.yaml | 26 +++ .../migrate_160_170/base_vat.yaml | 1 + .../migrate_160_170/calendar.yaml | 1 + .../removed_fields/migrate_160_170/crm.yaml | 2 + .../migrate_160_170/delivery.yaml | 1 + .../removed_fields/migrate_160_170/event.yaml | 5 + .../migrate_160_170/event_booth.yaml | 2 + .../migrate_160_170/event_booth_sale.yaml | 1 + .../migrate_160_170/event_sale.yaml | 1 + .../removed_fields/migrate_160_170/fleet.yaml | 3 + .../migrate_160_170/gamification.yaml | 2 + .../removed_fields/migrate_160_170/hr.yaml | 17 +- .../migrate_160_170/hr_contract.yaml | 1 + .../migrate_160_170/hr_expense.yaml | 13 ++ .../migrate_160_170/hr_holidays.yaml | 7 + .../migrate_160_170/hr_recruitment.yaml | 1 + .../hr_recruitment_survey.yaml | 1 + .../migrate_160_170/hr_timesheet.yaml | 1 + .../migrate_160_170/im_livechat.yaml | 1 + .../migrate_160_170/l10n_ar.yaml | 1 + .../migrate_160_170/l10n_br.yaml | 5 + .../migrate_160_170/l10n_ch.yaml | 6 + .../migrate_160_170/l10n_cl.yaml | 1 + .../migrate_160_170/l10n_de.yaml | 1 + .../migrate_160_170/l10n_ec.yaml | 4 + .../migrate_160_170/l10n_ee.yaml | 1 + .../migrate_160_170/l10n_eg.yaml | 1 + .../migrate_160_170/l10n_es_edi_sii.yaml | 3 + .../migrate_160_170/l10n_in.yaml | 2 + .../migrate_160_170/l10n_in_purchase.yaml | 1 + .../l10n_in_purchase_stock.yaml | 1 + .../migrate_160_170/l10n_in_sale.yaml | 1 + .../migrate_160_170/l10n_in_sale_stock.yaml | 1 + .../migrate_160_170/l10n_it_edi.yaml | 3 + .../l10n_it_edi_withholding.yaml | 3 + .../migrate_160_170/l10n_ke_edi_tremol.yaml | 2 + .../migrate_160_170/l10n_mx.yaml | 1 + .../migrate_160_170/l10n_nl.yaml | 2 + .../migrate_160_170/l10n_pe.yaml | 3 + .../migrate_160_170/l10n_ph.yaml | 1 + .../migrate_160_170/l10n_sa.yaml | 1 + .../migrate_160_170/l10n_sa_edi.yaml | 2 + .../migrate_160_170/loyalty.yaml | 1 + .../removed_fields/migrate_160_170/lunch.yaml | 1 + .../removed_fields/migrate_160_170/mail.yaml | 15 ++ .../migrate_160_170/maintenance.yaml | 6 + .../migrate_160_170/mass_mailing.yaml | 5 + .../migrate_160_170/mass_mailing_sms.yaml | 2 + .../removed_fields/migrate_160_170/mrp.yaml | 9 + .../migrate_160_170/mrp_account.yaml | 6 + .../removed_fields/migrate_160_170/note.yaml | 21 +++ .../migrate_160_170/onboarding.yaml | 4 + .../migrate_160_170/payment.yaml | 10 + .../migrate_160_170/payment_adyen.yaml | 2 + .../migrate_160_170/payment_asiapay.yaml | 1 + .../migrate_160_170/payment_authorize.yaml | 3 + .../migrate_160_170/payment_paypal.yaml | 2 + .../migrate_160_170/payment_stripe.yaml | 1 + .../migrate_160_170/phone_validation.yaml | 1 + .../migrate_160_170/point_of_sale.yaml | 9 + .../migrate_160_170/portal.yaml | 1 + .../migrate_160_170/pos_cache.yaml | 6 + .../migrate_160_170/pos_hr.yaml | 1 + .../migrate_160_170/pos_restaurant.yaml | 4 + .../migrate_160_170/product.yaml | 3 + .../migrate_160_170/project.yaml | 55 ++++++ .../migrate_160_170/purchase.yaml | 1 + .../migrate_160_170/purchase_requisition.yaml | 1 + .../migrate_160_170/purchase_stock.yaml | 1 + .../migrate_160_170/repair.yaml | 49 +++++ .../removed_fields/migrate_160_170/sale.yaml | 6 + .../migrate_160_170/sale_timesheet.yaml | 1 + .../migrate_160_170/sales_team.yaml | 2 + .../spreadsheet_dashboard.yaml | 1 + .../removed_fields/migrate_160_170/stock.yaml | 13 ++ .../migrate_160_170/stock_account.yaml | 1 + .../migrate_160_170/stock_landed_costs.yaml | 1 + .../migrate_160_170/stock_picking_batch.yaml | 1 + .../migrate_160_170/survey.yaml | 5 + .../migrate_160_170/website_blog.yaml | 2 + .../website_event_exhibitor.yaml | 1 + .../migrate_160_170/website_event_track.yaml | 1 + .../migrate_160_170/website_forum.yaml | 6 + .../migrate_160_170/website_livechat.yaml | 1 + .../migrate_160_170/website_sale.yaml | 3 + .../migrate_160_170/website_sale_digital.yaml | 1 + .../migrate_160_170/website_slides.yaml | 4 + .../migrate_170_180/account.yaml | 22 +++ .../account_check_printing.yaml | 2 + .../account_edi_proxy_client.yaml | 1 + .../migrate_170_180/account_edi_ubl_cii.yaml | 2 + .../migrate_170_180/account_payment_term.yaml | 1 + .../migrate_170_180/account_peppol.yaml | 3 + .../migrate_170_180/account_tax_python.yaml | 2 + .../migrate_170_180/analytic.yaml | 1 + .../migrate_170_180/auth_signup.yaml | 1 + .../removed_fields/migrate_170_180/base.yaml | 14 ++ .../removed_fields/migrate_170_180/crm.yaml | 1 + .../migrate_170_180/delivery.yaml | 1 + .../migrate_170_180/event_booth_sale.yaml | 1 + .../migrate_170_180/event_sale.yaml | 1 + .../migrate_170_180/google_calendar.yaml | 8 + .../migrate_170_180/hr_attendance.yaml | 2 + .../migrate_170_180/hr_expense.yaml | 2 + .../migrate_170_180/hr_holidays.yaml | 18 ++ .../migrate_170_180/hr_recruitment.yaml | 9 + .../hr_recruitment_skills.yaml | 2 + .../removed_fields/migrate_170_180/iap.yaml | 2 + .../migrate_170_180/im_livechat.yaml | 1 + .../migrate_170_180/im_livechat_mail_bot.yaml | 1 + .../migrate_170_180/l10n_anz_ubl_pint.yaml | 1 + .../migrate_170_180/l10n_ar.yaml | 2 + .../migrate_170_180/l10n_dk_bookkeeping.yaml | 1 + .../migrate_170_180/l10n_dk_oioubl.yaml | 1 + .../migrate_170_180/l10n_es_edi_facturae.yaml | 7 + .../migrate_170_180/l10n_es_edi_sii.yaml | 9 + .../migrate_170_180/l10n_es_edi_tbai.yaml | 2 + .../l10n_es_edi_verifactu.yaml | 5 + .../migrate_170_180/l10n_es_pos.yaml | 1 + .../migrate_170_180/l10n_id_efaktur.yaml | 3 + .../migrate_170_180/l10n_in.yaml | 1 + .../migrate_170_180/l10n_in_pos.yaml | 1 + .../migrate_170_180/l10n_jo_edi_extended.yaml | 1 + .../migrate_170_180/l10n_jp_ubl_pint.yaml | 1 + .../migrate_170_180/l10n_latam_check.yaml | 7 + .../migrate_170_180/l10n_mx_hr.yaml | 1 + .../migrate_170_180/l10n_my_ubl_pint.yaml | 1 + .../migrate_170_180/l10n_pe.yaml | 1 + .../migrate_170_180/l10n_ro_edi.yaml | 1 + .../migrate_170_180/l10n_sa_edi.yaml | 1 + .../migrate_170_180/l10n_sg_ubl_pint.yaml | 1 + .../migrate_170_180/l10n_tr_nilvera.yaml | 1 + .../removed_fields/migrate_170_180/mail.yaml | 2 + .../migrate_170_180/microsoft_calendar.yaml | 5 + .../removed_fields/migrate_170_180/mrp.yaml | 5 + .../migrate_170_180/mrp_account.yaml | 8 + .../migrate_170_180/payment.yaml | 5 + .../migrate_170_180/payment_paypal.yaml | 1 + .../migrate_170_180/payment_sips.yaml | 6 + .../migrate_170_180/point_of_sale.yaml | 12 ++ .../migrate_170_180/pos_adyen.yaml | 1 + .../migrate_170_180/pos_loyalty.yaml | 1 + .../migrate_170_180/pos_paytm.yaml | 6 + .../migrate_170_180/pos_razorpay.yaml | 7 + .../migrate_170_180/pos_restaurant.yaml | 3 + .../migrate_170_180/pos_self_order.yaml | 3 + .../migrate_170_180/product.yaml | 3 + .../migrate_170_180/project.yaml | 3 + .../migrate_170_180/project_todo.yaml | 1 + .../migrate_170_180/purchase.yaml | 1 + .../migrate_170_180/purchase_requisition.yaml | 12 ++ .../removed_fields/migrate_170_180/sale.yaml | 4 + .../sale_pdf_quote_builder.yaml | 9 + .../migrate_170_180/sales_team.yaml | 1 + .../migrate_170_180/snailmail_account.yaml | 1 + .../removed_fields/migrate_170_180/stock.yaml | 5 + .../stock_landed_costs_company.yaml | 1 + .../migrate_170_180/web_tour.yaml | 1 + .../migrate_170_180/website.yaml | 2 + .../migrate_170_180/website_event.yaml | 2 + .../migrate_170_180/website_forum.yaml | 1 + .../migrate_170_180/website_sale.yaml | 5 + .../migrate_170_180/website_sale_picking.yaml | 1 + .../website_sale_product_configurator.yaml | 1 + .../migrate_170_180/website_sale_slides.yaml | 1 + .../migrate_130_140/removed_models.yaml | 29 +++ .../migrate_140_150/removed_models.yaml | 14 +- .../migrate_150_160/removed_models.yaml | 38 +++- .../migrate_160_170/removed_models.yaml | 52 ++++- .../migrate_170_180/removed_models.yaml | 13 ++ 333 files changed, 1872 insertions(+), 10 deletions(-) create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/account.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/base.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/base_automation.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/calendar.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/crm.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/delivery.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/digest.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/event.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/event_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/fleet.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/gamification.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/google_calendar.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_contract.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_holidays.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_maintenance.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_recruitment_survey.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_ar.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_co.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_in.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_latam_invoice_document.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/link_tracker.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mrp.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/point_of_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/product.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/product_expiry.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/project.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/purchase_stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/sale_management.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/sale_timesheet.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/survey.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mail.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mail_full.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mass_mailing.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/uom.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_crm_partner_assign.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_event_questions.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_form.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_forum.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_mail.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_rating.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_slides.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_slides_survey.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/account.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/calendar.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/crm_iap_lead.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/delivery.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event_sms.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/fleet.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/hr.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/hr_holidays.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_cl.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_eu_service.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_latam_invoice_document.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/lunch.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/mail.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/mass_mailing.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pad.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pad_project.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_adyen.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_adyen_paybylink.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_buckaroo.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_ingenico.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_paypal.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_stripe.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/point_of_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/portal.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pos_adyen.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/project.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/project_timesheet_holidays.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/purchase_stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sale_stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sale_timesheet.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sms.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/stock_account.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/survey.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/utm.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_questions.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track_exhibitor.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track_quiz.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_mass_mailing.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_sale_stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/analytic.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/base.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/base_address_extended.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/coupon.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/crm.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/delivery.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/event.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/fetchmail_gmail.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/fetchmail_outlook.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/google_calendar.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/google_gmail.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_expense.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_holidays.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_recruitment.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_timesheet.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_ar.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_in_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_it.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_it_edi.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_mx.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_rs.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mail.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mass_mailing.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/microsoft_outlook.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mrp.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/note_pad.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pad_project.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_adyen.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_alipay.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_authorize.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_buckaroo.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_mollie.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_ogone.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_paypal.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_payulatam.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_payumoney.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_sips.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_stripe.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_transfer.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/point_of_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_coupon.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_gift_card.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_restaurant.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_sale_product_configurator.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/project.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase_requisition.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase_requisition_stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/resource.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_coupon.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_expense.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_gift_card.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sms.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/stock_account.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/survey.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_crm_partner_assign.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_event.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale_gift_card.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale_stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_slides.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account_edi_proxy_client.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account_tax_python.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/analytic.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_automation.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_import.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_vat.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/calendar.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/crm.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/delivery.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_booth.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_booth_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/fleet.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/gamification.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_contract.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_expense.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_holidays.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_recruitment.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_recruitment_survey.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_timesheet.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/im_livechat.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ar.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_br.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ch.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_cl.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_de.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ec.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ee.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_eg.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_es_edi_sii.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_purchase.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_purchase_stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_sale_stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_it_edi.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_it_edi_withholding.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ke_edi_tremol.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_mx.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_nl.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_pe.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ph.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_sa.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_sa_edi.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/loyalty.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/lunch.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mail.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/maintenance.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mass_mailing.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mass_mailing_sms.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mrp.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mrp_account.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/note.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/onboarding.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_adyen.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_asiapay.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_authorize.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_paypal.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_stripe.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/phone_validation.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/point_of_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/portal.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_cache.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_hr.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_restaurant.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/product.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/project.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase_requisition.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase_stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/repair.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sale_timesheet.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sales_team.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/spreadsheet_dashboard.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_account.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_landed_costs.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_picking_batch.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/survey.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_blog.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_event_exhibitor.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_event_track.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_forum.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_livechat.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_sale_digital.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_slides.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_check_printing.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_edi_proxy_client.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_edi_ubl_cii.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_payment_term.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_peppol.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_tax_python.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/analytic.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/auth_signup.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/base.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/crm.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/delivery.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/event_booth_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/event_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/google_calendar.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_attendance.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_expense.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_holidays.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_recruitment.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_recruitment_skills.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/iap.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/im_livechat.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/im_livechat_mail_bot.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_anz_ubl_pint.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_ar.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_dk_bookkeeping.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_dk_oioubl.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_facturae.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_sii.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_tbai.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_verifactu.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_pos.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_id_efaktur.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_in.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_in_pos.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_jo_edi_extended.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_jp_ubl_pint.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_latam_check.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_mx_hr.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_my_ubl_pint.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_pe.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_ro_edi.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_sa_edi.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_sg_ubl_pint.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_tr_nilvera.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mail.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/microsoft_calendar.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mrp.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mrp_account.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment_paypal.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment_sips.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/point_of_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_adyen.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_loyalty.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_paytm.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_razorpay.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_restaurant.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_self_order.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/product.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/project.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/project_todo.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/purchase.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/purchase_requisition.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sale_pdf_quote_builder.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sales_team.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/snailmail_account.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/stock.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/stock_landed_costs_company.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/web_tour.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_event.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_forum.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_picking.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_product_configurator.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_slides.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_models/migrate_130_140/removed_models.yaml create mode 100644 odoo_module_migrate/migration_scripts/removed_models/migrate_170_180/removed_models.yaml diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/account.yaml new file mode 100644 index 00000000..7d1416b7 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/account.yaml @@ -0,0 +1,79 @@ +- ['account.account.template', 'group_id', ''] +- ['account.account.template', 'root_id', ''] +- ['account.bank.statement', 'accounting_date', ''] +- ['account.bank.statement.line', 'account_id', ''] +- ['account.bank.statement.line', 'bank_account_id', ''] +- ['account.bank.statement.line', 'journal_entry_ids', ''] +- ['account.bank.statement.line', 'move_name', ''] +- ['account.bank.statement.line', 'note', ''] +- ['account.cash.rounding', 'account_id', ''] +- ['account.fiscal.year', 'company_id', ''] +- ['account.fiscal.year', 'date_from', ''] +- ['account.fiscal.year', 'date_to', ''] +- ['account.fiscal.year', 'name', ''] +- ['account.group', 'code_prefix', ''] +- ['account.journal', 'default_credit_account_id', ''] +- ['account.journal', 'default_debit_account_id', ''] +- ['account.journal', 'post_at', ''] +- ['account.journal', 'refund_sequence_id', ''] +- ['account.journal', 'sequence_id', ''] +- ['account.move', 'invoice_partner_bank_id', ''] +- ['account.move', 'invoice_payment_ref', ''] +- ['account.move', 'invoice_payment_state', ''] +- ['account.move', 'invoice_sent', ''] +- ['account.move', 'type', ''] +- ['account.move.line', 'tag_ids', ''] +- ['account.partial.reconcile', 'amount_currency', ''] +- ['account.partial.reconcile', 'currency_id', ''] +- ['account.payment', 'communication', ''] +- ['account.payment', 'destination_journal_id', ''] +- ['account.payment', 'invoice_ids', ''] +- ['account.payment', 'move_line_ids', ''] +- ['account.payment', 'move_name', ''] +- ['account.payment', 'partner_bank_account_id', ''] +- ['account.payment', 'payment_date', ''] +- ['account.payment', 'payment_difference_handling', ''] +- ['account.payment', 'writeoff_account_id', ''] +- ['account.payment', 'writeoff_label', ''] +- ['account.reconcile.model', 'account_id', ''] +- ['account.reconcile.model', 'amount', ''] +- ['account.reconcile.model', 'amount_from_label_regex', ''] +- ['account.reconcile.model', 'amount_type', ''] +- ['account.reconcile.model', 'analytic_account_id', ''] +- ['account.reconcile.model', 'analytic_tag_ids', ''] +- ['account.reconcile.model', 'force_second_tax_included', ''] +- ['account.reconcile.model', 'force_tax_included', ''] +- ['account.reconcile.model', 'has_second_line', ''] +- ['account.reconcile.model', 'journal_id', ''] +- ['account.reconcile.model', 'label', ''] +- ['account.reconcile.model', 'second_account_id', ''] +- ['account.reconcile.model', 'second_amount', ''] +- ['account.reconcile.model', 'second_amount_from_label_regex', ''] +- ['account.reconcile.model', 'second_amount_type', ''] +- ['account.reconcile.model', 'second_analytic_account_id', ''] +- ['account.reconcile.model', 'second_analytic_tag_ids', ''] +- ['account.reconcile.model', 'second_journal_id', ''] +- ['account.reconcile.model', 'second_label', ''] +- ['account.reconcile.model', 'second_tax_ids', ''] +- ['account.reconcile.model', 'tax_ids', ''] +- ['account.reconcile.model.template', 'account_id', ''] +- ['account.reconcile.model.template', 'amount', ''] +- ['account.reconcile.model.template', 'amount_from_label_regex', ''] +- ['account.reconcile.model.template', 'amount_type', ''] +- ['account.reconcile.model.template', 'force_second_tax_included', ''] +- ['account.reconcile.model.template', 'force_tax_included', ''] +- ['account.reconcile.model.template', 'has_second_line', ''] +- ['account.reconcile.model.template', 'label', ''] +- ['account.reconcile.model.template', 'second_account_id', ''] +- ['account.reconcile.model.template', 'second_amount', ''] +- ['account.reconcile.model.template', 'second_amount_from_label_regex', ''] +- ['account.reconcile.model.template', 'second_amount_type', ''] +- ['account.reconcile.model.template', 'second_label', ''] +- ['account.reconcile.model.template', 'second_tax_ids', ''] +- ['account.reconcile.model.template', 'tax_ids', ''] +- ['account.tax', 'cash_basis_base_account_id', ''] +- ['account.tax.report.line', 'country_id', ''] +- ['account.tax.template', 'cash_basis_base_account_id', ''] +- ['res.company', 'account_bank_reconciliation_start', ''] +- ['res.company', 'account_onboarding_sample_invoice_state', ''] +- ['res.company', 'accrual_default_journal_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/base.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/base.yaml new file mode 100644 index 00000000..feb84c48 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/base.yaml @@ -0,0 +1,5 @@ +- ['ir.model.data', 'date_init', ''] +- ['ir.model.data', 'date_update', ''] +- ['ir.ui.view', 'model_ids', ''] +- ['res.company', 'account_no', ''] +- ['res.country', 'image', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/base_automation.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/base_automation.yaml new file mode 100644 index 00000000..781602ef --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/base_automation.yaml @@ -0,0 +1 @@ +- ['base.automation', 'on_change_fields', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/calendar.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/calendar.yaml new file mode 100644 index 00000000..05ce1152 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/calendar.yaml @@ -0,0 +1,8 @@ +- ['calendar.event', 'display_start', ''] +- ['calendar.event', 'final_date', ''] +- ['calendar.event', 'recurrent_id', ''] +- ['calendar.event', 'recurrent_id_date', ''] +- ['calendar.event', 'start_datetime', ''] +- ['calendar.event', 'state', ''] +- ['calendar.event', 'stop_datetime', ''] +- ['calendar.event', 'week_list', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/crm.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/crm.yaml new file mode 100644 index 00000000..f982527b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/crm.yaml @@ -0,0 +1 @@ +- ['crm.lead', 'planned_revenue', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/delivery.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/delivery.yaml new file mode 100644 index 00000000..6e405cf9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/delivery.yaml @@ -0,0 +1,2 @@ +- ['product.packaging', 'length', ''] +- ['stock.picking', 'volume', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/digest.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/digest.yaml new file mode 100644 index 00000000..8c5ffafc --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/digest.yaml @@ -0,0 +1 @@ +- ['digest.digest', 'template_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/event.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/event.yaml new file mode 100644 index 00000000..1818d3ce --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/event.yaml @@ -0,0 +1,12 @@ +- ['event.event', 'color', ''] +- ['event.event', 'is_online', ''] +- ['event.event', 'seats_availability', ''] +- ['event.event', 'seats_min', ''] +- ['event.event', 'state', ''] +- ['event.event', 'twitter_hashtag', ''] +- ['event.registration', 'origin', ''] +- ['event.type', 'default_hashtag', ''] +- ['event.type', 'default_registration_max', ''] +- ['event.type', 'default_registration_min', ''] +- ['event.type', 'is_online', ''] +- ['event.type', 'use_hashtag', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/event_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/event_sale.yaml new file mode 100644 index 00000000..6cc2e742 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/event_sale.yaml @@ -0,0 +1,7 @@ +- ['event.event.ticket', 'deadline', ''] +- ['event.event.ticket', 'seats_availability', ''] +- ['event.registration', 'campaign_id', ''] +- ['event.registration', 'medium_id', ''] +- ['event.registration', 'source_id', ''] +- ['event.type', 'event_ticket_ids', ''] +- ['event.type', 'use_ticketing', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/fleet.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/fleet.yaml new file mode 100644 index 00000000..265e3fa7 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/fleet.yaml @@ -0,0 +1,31 @@ +- ['fleet.vehicle', 'log_fuel', ''] +- ['fleet.vehicle.cost', 'amount', ''] +- ['fleet.vehicle.cost', 'auto_generated', ''] +- ['fleet.vehicle.cost', 'company_id', ''] +- ['fleet.vehicle.cost', 'contract_id', ''] +- ['fleet.vehicle.cost', 'cost_ids', ''] +- ['fleet.vehicle.cost', 'cost_subtype_id', ''] +- ['fleet.vehicle.cost', 'cost_type', ''] +- ['fleet.vehicle.cost', 'date', ''] +- ['fleet.vehicle.cost', 'description', ''] +- ['fleet.vehicle.cost', 'name', ''] +- ['fleet.vehicle.cost', 'odometer_id', ''] +- ['fleet.vehicle.cost', 'parent_id', ''] +- ['fleet.vehicle.cost', 'vehicle_id', ''] +- ['fleet.vehicle.log.contract', '_inherits', ''] +- ['fleet.vehicle.log.contract', 'cost_amount', ''] +- ['fleet.vehicle.log.contract', 'cost_id', ''] +- ['fleet.vehicle.log.contract', 'generated_cost_ids', ''] +- ['fleet.vehicle.log.contract', 'odometer', ''] +- ['fleet.vehicle.log.fuel', '_inherits', ''] +- ['fleet.vehicle.log.fuel', 'cost_amount', ''] +- ['fleet.vehicle.log.fuel', 'cost_id', ''] +- ['fleet.vehicle.log.fuel', 'inv_ref', ''] +- ['fleet.vehicle.log.fuel', 'liter', ''] +- ['fleet.vehicle.log.fuel', 'notes', ''] +- ['fleet.vehicle.log.fuel', 'price_per_liter', ''] +- ['fleet.vehicle.log.fuel', 'purchaser_id', ''] +- ['fleet.vehicle.log.fuel', 'vendor_id', ''] +- ['fleet.vehicle.log.services', '_inherits', ''] +- ['fleet.vehicle.log.services', 'cost_amount', ''] +- ['fleet.vehicle.log.services', 'cost_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/gamification.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/gamification.yaml new file mode 100644 index 00000000..eb4182f3 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/gamification.yaml @@ -0,0 +1 @@ +- ['gamification.challenge', 'category', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/google_calendar.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/google_calendar.yaml new file mode 100644 index 00000000..9d655201 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/google_calendar.yaml @@ -0,0 +1,4 @@ +- ['calendar.attendee', 'google_internal_event_id', ''] +- ['calendar.attendee', 'oe_synchro_date', ''] +- ['calendar.event', 'oe_update_date', ''] +- ['res.users', 'google_calendar_last_sync_date', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_contract.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_contract.yaml new file mode 100644 index 00000000..bd6c1a3f --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_contract.yaml @@ -0,0 +1,2 @@ +- ['hr.contract', 'advantages', ''] +- ['hr.employee', 'medic_exam', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_holidays.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_holidays.yaml new file mode 100644 index 00000000..0b3c2623 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_holidays.yaml @@ -0,0 +1 @@ +- ['hr.leave.type', 'validation_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_maintenance.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_maintenance.yaml new file mode 100644 index 00000000..33e0f852 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_maintenance.yaml @@ -0,0 +1 @@ +- ['maintenance.request', 'department_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_recruitment_survey.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_recruitment_survey.yaml new file mode 100644 index 00000000..be367ef9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/hr_recruitment_survey.yaml @@ -0,0 +1 @@ +- ['survey.survey', 'category', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_ar.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_ar.yaml new file mode 100644 index 00000000..2a36b52f --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_ar.yaml @@ -0,0 +1,2 @@ +- ['account.journal', 'l10n_ar_sequence_ids', ''] +- ['ir.sequence', 'l10n_ar_letter', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_co.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_co.yaml new file mode 100644 index 00000000..0114f7c0 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_co.yaml @@ -0,0 +1 @@ +- ['res.partner', 'l10n_co_document_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_in.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_in.yaml new file mode 100644 index 00000000..589fb890 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_in.yaml @@ -0,0 +1,2 @@ +- ['account.journal', 'l10n_in_import_export', ''] +- ['account.move', 'l10n_in_export_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_latam_invoice_document.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_latam_invoice_document.yaml new file mode 100644 index 00000000..c9f2e656 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/l10n_latam_invoice_document.yaml @@ -0,0 +1 @@ +- ['ir.sequence', 'l10n_latam_journal_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/link_tracker.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/link_tracker.yaml new file mode 100644 index 00000000..120b851e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/link_tracker.yaml @@ -0,0 +1 @@ +- ['link.tracker', 'favicon', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mail.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mail.yaml index 4715fdba..d166bad8 100644 --- a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mail.yaml +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mail.yaml @@ -1 +1,3 @@ -- ["mail.template", "user_signature", "Commit https://github.com/odoo/odoo/commit/de1743ab"] +- ['mail.template', 'user_signature', 'Commit https://github.com/odoo/odoo/commit/de1743ab'] +- ['res.users', 'alias_id', ''] +- ['res.users', 'out_of_office_message', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mrp.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mrp.yaml new file mode 100644 index 00000000..64410d12 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/mrp.yaml @@ -0,0 +1,36 @@ +- ['mrp.bom', 'routing_id', ''] +- ['mrp.bom.byproduct', 'routing_id', ''] +- ['mrp.bom.line', 'routing_id', ''] +- ['mrp.production', 'date_start_wo', ''] +- ['mrp.production', 'propagate_date', ''] +- ['mrp.production', 'propagate_date_minimum_delta', ''] +- ['mrp.production', 'routing_id', ''] +- ['mrp.routing', 'active', ''] +- ['mrp.routing', 'code', ''] +- ['mrp.routing', 'company_id', ''] +- ['mrp.routing', 'name', ''] +- ['mrp.routing', 'note', ''] +- ['mrp.routing', 'operation_ids', ''] +- ['mrp.routing.workcenter', 'batch', ''] +- ['mrp.routing.workcenter', 'batch_size', ''] +- ['mrp.routing.workcenter', 'routing_id', ''] +- ['mrp.workorder', 'activity_ids', ''] +- ['mrp.workorder', 'capacity', ''] +- ['mrp.workorder', 'finished_workorder_line_ids', ''] +- ['mrp.workorder', 'message_follower_ids', ''] +- ['mrp.workorder', 'message_ids', ''] +- ['mrp.workorder', 'message_main_attachment_id', ''] +- ['mrp.workorder', 'raw_workorder_line_ids', ''] +- ['mrp.workorder', 'website_message_ids', ''] +- ['mrp.workorder.line', 'finished_workorder_id', ''] +- ['mrp.workorder.line', 'lot_id', ''] +- ['mrp.workorder.line', 'move_id', ''] +- ['mrp.workorder.line', 'product_id', ''] +- ['mrp.workorder.line', 'product_uom_id', ''] +- ['mrp.workorder.line', 'qty_done', ''] +- ['mrp.workorder.line', 'qty_reserved', ''] +- ['mrp.workorder.line', 'qty_to_consume', ''] +- ['mrp.workorder.line', 'raw_workorder_id', ''] +- ['stock.move.line', 'done_move', ''] +- ['stock.move.line', 'lot_produced_ids', ''] +- ['stock.move.line', 'lot_produced_qty', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/point_of_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/point_of_sale.yaml new file mode 100644 index 00000000..4347e774 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/point_of_sale.yaml @@ -0,0 +1,4 @@ +- ['pos.config', 'iface_precompute_cash', ''] +- ['pos.config', 'module_pos_reprint', ''] +- ['pos.order', 'location_id', ''] +- ['pos.order', 'picking_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/product.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/product.yaml new file mode 100644 index 00000000..689c7484 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/product.yaml @@ -0,0 +1 @@ +- ['product.template', 'rental', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/product_expiry.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/product_expiry.yaml new file mode 100644 index 00000000..3a07179c --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/product_expiry.yaml @@ -0,0 +1,2 @@ +- ['product.template', 'life_time', ''] +- ['stock.production.lot', 'life_date', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/project.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/project.yaml new file mode 100644 index 00000000..da49b4c7 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/project.yaml @@ -0,0 +1 @@ +- ['project.project', 'portal_show_rating', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/purchase_stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/purchase_stock.yaml new file mode 100644 index 00000000..2bec9cf8 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/purchase_stock.yaml @@ -0,0 +1,2 @@ +- ['purchase.order.line', 'propagate_date', ''] +- ['purchase.order.line', 'propagate_date_minimum_delta', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/sale_management.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/sale_management.yaml new file mode 100644 index 00000000..7a1dbae1 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/sale_management.yaml @@ -0,0 +1,4 @@ +- ['sale.order.template.line', 'discount', ''] +- ['sale.order.template.line', 'price_unit', ''] +- ['sale.order.template.option', 'discount', ''] +- ['sale.order.template.option', 'price_unit', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/sale_timesheet.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/sale_timesheet.yaml new file mode 100644 index 00000000..389ac574 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/sale_timesheet.yaml @@ -0,0 +1,2 @@ +- ['project.project', 'billable_type', ''] +- ['project.task', 'billable_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/stock.yaml new file mode 100644 index 00000000..5673148a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/stock.yaml @@ -0,0 +1,9 @@ +- ['stock.move', 'date_expected', ''] +- ['stock.move', 'delay_alert', ''] +- ['stock.move', 'propagate_date', ''] +- ['stock.move', 'propagate_date_minimum_delta', ''] +- ['stock.rule', 'delay_alert', ''] +- ['stock.rule', 'propagate_date', ''] +- ['stock.rule', 'propagate_date_minimum_delta', ''] +- ['stock.warehouse.orderpoint', 'lead_days', ''] +- ['stock.warehouse.orderpoint', 'lead_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/survey.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/survey.yaml new file mode 100644 index 00000000..c1711d5e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/survey.yaml @@ -0,0 +1,19 @@ +- ['gamification.challenge', 'category', ''] +- ['survey.label', 'question_id_2', ''] +- ['survey.question', 'display_mode', ''] +- ['survey.question', 'labels_ids', ''] +- ['survey.question', 'labels_ids_2', ''] +- ['survey.survey', 'category', ''] +- ['survey.survey', 'certificate', ''] +- ['survey.survey', 'passing_score', ''] +- ['survey.survey', 'thank_you_message', ''] +- ['survey.user_input', 'input_type', ''] +- ['survey.user_input', 'question_ids', ''] +- ['survey.user_input', 'quizz_passed', ''] +- ['survey.user_input', 'quizz_score', ''] +- ['survey.user_input', 'token', ''] +- ['survey.user_input_line', 'value_free_text', ''] +- ['survey.user_input_line', 'value_number', ''] +- ['survey.user_input_line', 'value_suggested', ''] +- ['survey.user_input_line', 'value_suggested_row', ''] +- ['survey.user_input_line', 'value_text', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mail.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mail.yaml new file mode 100644 index 00000000..7582aeb0 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mail.yaml @@ -0,0 +1,31 @@ +- ['mail.test', '_inherits', ''] +- ['mail.test', 'alias_id', ''] +- ['mail.test', 'customer_id', ''] +- ['mail.test', 'description', ''] +- ['mail.test', 'message_follower_ids', ''] +- ['mail.test', 'message_ids', ''] +- ['mail.test', 'message_main_attachment_id', ''] +- ['mail.test', 'name', ''] +- ['mail.test', 'website_message_ids', ''] +- ['mail.test.full', 'count', ''] +- ['mail.test.full', 'customer_id', ''] +- ['mail.test.full', 'datetime', ''] +- ['mail.test.full', 'email_from', ''] +- ['mail.test.full', 'mail_template', ''] +- ['mail.test.full', 'message_follower_ids', ''] +- ['mail.test.full', 'message_ids', ''] +- ['mail.test.full', 'message_main_attachment_id', ''] +- ['mail.test.full', 'name', ''] +- ['mail.test.full', 'umbrella_id', ''] +- ['mail.test.full', 'user_id', ''] +- ['mail.test.full', 'website_message_ids', ''] +- ['mail.test.track', 'umbrella_id', ''] +- ['test_performance.mail', 'message_follower_ids', ''] +- ['test_performance.mail', 'message_ids', ''] +- ['test_performance.mail', 'message_main_attachment_id', ''] +- ['test_performance.mail', 'name', ''] +- ['test_performance.mail', 'partner_id', ''] +- ['test_performance.mail', 'track', ''] +- ['test_performance.mail', 'value', ''] +- ['test_performance.mail', 'value_pc', ''] +- ['test_performance.mail', 'website_message_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mail_full.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mail_full.yaml new file mode 100644 index 00000000..33e5a3a5 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mail_full.yaml @@ -0,0 +1 @@ +- ['mail.test.sms.partner', 'partner_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mass_mailing.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mass_mailing.yaml new file mode 100644 index 00000000..b4a67c62 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/test_mass_mailing.yaml @@ -0,0 +1,17 @@ +- ['mass.mail.test', 'email_from', ''] +- ['mass.mail.test', 'email_normalized', ''] +- ['mass.mail.test', 'message_follower_ids', ''] +- ['mass.mail.test', 'message_ids', ''] +- ['mass.mail.test', 'message_main_attachment_id', ''] +- ['mass.mail.test', 'name', ''] +- ['mass.mail.test', 'website_message_ids', ''] +- ['mass.mail.test.bl', 'email_from', ''] +- ['mass.mail.test.bl', 'email_normalized', ''] +- ['mass.mail.test.bl', 'message_bounce', ''] +- ['mass.mail.test.bl', 'message_follower_ids', ''] +- ['mass.mail.test.bl', 'message_ids', ''] +- ['mass.mail.test.bl', 'message_main_attachment_id', ''] +- ['mass.mail.test.bl', 'name', ''] +- ['mass.mail.test.bl', 'umbrella_id', ''] +- ['mass.mail.test.bl', 'user_id', ''] +- ['mass.mail.test.bl', 'website_message_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/uom.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/uom.yaml new file mode 100644 index 00000000..e583518b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/uom.yaml @@ -0,0 +1,2 @@ +- ['uom.category', 'measure_type', ''] +- ['uom.uom', 'measure_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_crm_partner_assign.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_crm_partner_assign.yaml new file mode 100644 index 00000000..91ef3428 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_crm_partner_assign.yaml @@ -0,0 +1 @@ +- ['crm.lead', 'date_assign', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_event_questions.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_event_questions.yaml new file mode 100644 index 00000000..6d62be82 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_event_questions.yaml @@ -0,0 +1,4 @@ +- ['event.question', 'is_individual', ''] +- ['event.registration', 'answer_ids', ''] +- ['event.registration.answer', 'event_answer_id', ''] +- ['event.registration.answer', 'event_registration_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_form.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_form.yaml new file mode 100644 index 00000000..2c402d76 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_form.yaml @@ -0,0 +1 @@ +- ['website', 'website_form_enable_metadata', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_forum.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_forum.yaml new file mode 100644 index 00000000..eb4182f3 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_forum.yaml @@ -0,0 +1 @@ +- ['gamification.challenge', 'category', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_mail.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_mail.yaml new file mode 100644 index 00000000..0b441cf0 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_mail.yaml @@ -0,0 +1 @@ +- ['mail.message', 'website_published', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_rating.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_rating.yaml new file mode 100644 index 00000000..8214e40d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_rating.yaml @@ -0,0 +1 @@ +- ['rating.rating', 'website_published', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_sale.yaml new file mode 100644 index 00000000..619002bb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_sale.yaml @@ -0,0 +1,2 @@ +- ['product.style', 'name', ''] +- ['product.template', 'website_style_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_slides.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_slides.yaml new file mode 100644 index 00000000..eb4182f3 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_slides.yaml @@ -0,0 +1 @@ +- ['gamification.challenge', 'category', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_slides_survey.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_slides_survey.yaml new file mode 100644 index 00000000..8aa5710a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_130_140/website_slides_survey.yaml @@ -0,0 +1 @@ +- ['slide.slide.partner', 'survey_quizz_passed', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/account.yaml new file mode 100644 index 00000000..63dc767e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/account.yaml @@ -0,0 +1,14 @@ +- ['account.journal', 'at_least_one_inbound', ''] +- ['account.journal', 'at_least_one_outbound', ''] +- ['account.journal', 'inbound_payment_method_ids', ''] +- ['account.journal', 'outbound_payment_method_ids', ''] +- ['account.journal', 'payment_credit_account_id', ''] +- ['account.journal', 'payment_debit_account_id', ''] +- ['account.move', 'tax_cash_basis_move_id', ''] +- ['account.move.line', 'tax_exigible', ''] +- ['account.payment.method', 'sequence', ''] +- ['account.reconcile.model', 'match_total_amount', ''] +- ['account.reconcile.model', 'match_total_amount_param', ''] +- ['account.reconcile.model.template', 'match_total_amount', ''] +- ['account.reconcile.model.template', 'match_total_amount_param', ''] +- ['res.company', 'account_tax_fiscal_country_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/calendar.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/calendar.yaml new file mode 100644 index 00000000..5bb677ae --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/calendar.yaml @@ -0,0 +1,14 @@ +- ['calendar.event', 'fr', ''] +- ['calendar.event', 'mo', ''] +- ['calendar.event', 'sa', ''] +- ['calendar.event', 'su', ''] +- ['calendar.event', 'th', ''] +- ['calendar.event', 'tu', ''] +- ['calendar.event', 'we', ''] +- ['calendar.recurrence', 'fr', ''] +- ['calendar.recurrence', 'mo', ''] +- ['calendar.recurrence', 'sa', ''] +- ['calendar.recurrence', 'su', ''] +- ['calendar.recurrence', 'th', ''] +- ['calendar.recurrence', 'tu', ''] +- ['calendar.recurrence', 'we', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/crm_iap_lead.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/crm_iap_lead.yaml new file mode 100644 index 00000000..f02991da --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/crm_iap_lead.yaml @@ -0,0 +1,2 @@ +- ['crm.iap.lead.industry', 'reveal_id', ''] +- ['crm.iap.lead.mining.request', 'error', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/delivery.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/delivery.yaml new file mode 100644 index 00000000..e9573839 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/delivery.yaml @@ -0,0 +1,6 @@ +- ['product.packaging', 'height', ''] +- ['product.packaging', 'max_weight', ''] +- ['product.packaging', 'package_carrier_type', ''] +- ['product.packaging', 'packaging_length', ''] +- ['product.packaging', 'shipper_package_code', ''] +- ['product.packaging', 'width', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event.yaml new file mode 100644 index 00000000..2b46a2b1 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event.yaml @@ -0,0 +1,14 @@ +- ['event.event', 'badge_back', ''] +- ['event.event', 'badge_front', ''] +- ['event.event', 'badge_innerleft', ''] +- ['event.event', 'badge_innerright', ''] +- ['event.event', 'event_logo', ''] +- ['event.event.ticket', 'end_sale_date', ''] +- ['event.event.ticket', 'start_sale_date', ''] +- ['event.mail', 'done', ''] +- ['event.mail', 'mail_sent', ''] +- ['event.mail', 'template_id', ''] +- ['event.type', 'use_mail_schedule', ''] +- ['event.type', 'use_ticket', ''] +- ['event.type', 'use_timezone', ''] +- ['event.type.mail', 'template_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event_sale.yaml new file mode 100644 index 00000000..1974804e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event_sale.yaml @@ -0,0 +1 @@ +- ['product.template', 'event_ok', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event_sms.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event_sms.yaml new file mode 100644 index 00000000..6c271a53 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/event_sms.yaml @@ -0,0 +1,2 @@ +- ['event.mail', 'sms_template_id', ''] +- ['event.type.mail', 'sms_template_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/fleet.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/fleet.yaml new file mode 100644 index 00000000..f185e144 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/fleet.yaml @@ -0,0 +1 @@ +- ['fleet.vehicle.model', 'manager_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/hr.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/hr.yaml new file mode 100644 index 00000000..56c0ffbb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/hr.yaml @@ -0,0 +1,2 @@ +- ['hr.employee', 'departure_reason', ''] +- ['hr.employee', 'work_location', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/hr_holidays.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/hr_holidays.yaml new file mode 100644 index 00000000..3b7f050b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/hr_holidays.yaml @@ -0,0 +1,12 @@ +- ['hr.leave', 'payslip_status', ''] +- ['hr.leave.allocation', 'accrual_limit', ''] +- ['hr.leave.allocation', 'first_approver_id', ''] +- ['hr.leave.allocation', 'interval_number', ''] +- ['hr.leave.allocation', 'interval_unit', ''] +- ['hr.leave.allocation', 'number_per_interval', ''] +- ['hr.leave.allocation', 'second_approver_id', ''] +- ['hr.leave.allocation', 'unit_per_interval', ''] +- ['hr.leave.type', 'allocation_type', ''] +- ['hr.leave.type', 'code', ''] +- ['hr.leave.type', 'validity_start', ''] +- ['hr.leave.type', 'validity_stop', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_cl.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_cl.yaml new file mode 100644 index 00000000..5f43e4a5 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_cl.yaml @@ -0,0 +1,2 @@ +- ['account.journal', 'l10n_cl_sequence_ids', ''] +- ['ir.sequence', 'l10n_cl_journal_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_eu_service.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_eu_service.yaml new file mode 100644 index 00000000..3778cb08 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_eu_service.yaml @@ -0,0 +1,2 @@ +- ['l10n_eu_service.service_tax_rate', 'country_id', ''] +- ['l10n_eu_service.service_tax_rate', 'rate', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_latam_invoice_document.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_latam_invoice_document.yaml new file mode 100644 index 00000000..2b4f3884 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/l10n_latam_invoice_document.yaml @@ -0,0 +1 @@ +- ['ir.sequence', 'l10n_latam_document_type_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/lunch.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/lunch.yaml new file mode 100644 index 00000000..42077595 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/lunch.yaml @@ -0,0 +1,24 @@ +- ['lunch.alert', 'recurrency_friday', ''] +- ['lunch.alert', 'recurrency_monday', ''] +- ['lunch.alert', 'recurrency_saturday', ''] +- ['lunch.alert', 'recurrency_sunday', ''] +- ['lunch.alert', 'recurrency_thursday', ''] +- ['lunch.alert', 'recurrency_tuesday', ''] +- ['lunch.alert', 'recurrency_wednesday', ''] +- ['lunch.product.category', 'topping_ids_1', ''] +- ['lunch.product.category', 'topping_ids_2', ''] +- ['lunch.product.category', 'topping_ids_3', ''] +- ['lunch.product.category', 'topping_label_1', ''] +- ['lunch.product.category', 'topping_label_2', ''] +- ['lunch.product.category', 'topping_label_3', ''] +- ['lunch.product.category', 'topping_quantity_1', ''] +- ['lunch.product.category', 'topping_quantity_2', ''] +- ['lunch.product.category', 'topping_quantity_3', ''] +- ['lunch.supplier', 'recurrency_friday', ''] +- ['lunch.supplier', 'recurrency_monday', ''] +- ['lunch.supplier', 'recurrency_saturday', ''] +- ['lunch.supplier', 'recurrency_sunday', ''] +- ['lunch.supplier', 'recurrency_thursday', ''] +- ['lunch.supplier', 'recurrency_tuesday', ''] +- ['lunch.supplier', 'recurrency_wednesday', ''] +- ['lunch.topping', 'category_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/mail.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/mail.yaml new file mode 100644 index 00000000..51f3a547 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/mail.yaml @@ -0,0 +1,24 @@ +- ['ir.actions.server', 'channel_ids', ''] +- ['mail.activity.type', 'default_description', ''] +- ['mail.activity.type', 'default_next_type_id', ''] +- ['mail.activity.type', 'force_next', ''] +- ['mail.activity.type', 'next_type_ids', ''] +- ['mail.activity.type', 'res_model_id', ''] +- ['mail.channel', 'channel_message_ids', ''] +- ['mail.channel', 'email_send', ''] +- ['mail.channel', 'moderation', ''] +- ['mail.channel', 'moderation_guidelines', ''] +- ['mail.channel', 'moderation_guidelines_msg', ''] +- ['mail.channel', 'moderation_ids', ''] +- ['mail.channel', 'moderation_notify', ''] +- ['mail.channel', 'moderation_notify_msg', ''] +- ['mail.channel', 'moderator_ids', ''] +- ['mail.followers', 'channel_id', ''] +- ['mail.mail', 'notification', ''] +- ['mail.message', 'channel_ids', ''] +- ['mail.message', 'moderation_status', ''] +- ['mail.message', 'moderator_id', ''] +- ['mail.message', 'no_auto_thread', ''] +- ['mail.moderation', 'channel_id', ''] +- ['mail.notification', 'mail_id', ''] +- ['res.users', 'moderation_channel_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/mass_mailing.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/mass_mailing.yaml new file mode 100644 index 00000000..51770034 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/mass_mailing.yaml @@ -0,0 +1,12 @@ +- ['mailing.mailing', 'contact_ab_pc', ''] +- ['mailing.mailing', 'unique_ab_testing', ''] +- ['mailing.trace', 'bounced', ''] +- ['mailing.trace', 'clicked', ''] +- ['mailing.trace', 'exception', ''] +- ['mailing.trace', 'ignored', ''] +- ['mailing.trace', 'opened', ''] +- ['mailing.trace', 'replied', ''] +- ['mailing.trace', 'scheduled', ''] +- ['mailing.trace', 'sent', ''] +- ['mailing.trace', 'state', ''] +- ['mailing.trace', 'state_update', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pad.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pad.yaml new file mode 100644 index 00000000..dfb4474d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pad.yaml @@ -0,0 +1,2 @@ +- ['res.company', 'pad_key', ''] +- ['res.company', 'pad_server', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pad_project.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pad_project.yaml new file mode 100644 index 00000000..30bbfe5a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pad_project.yaml @@ -0,0 +1 @@ +- ['project.project', 'pad_availability', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment.yaml new file mode 100644 index 00000000..8153ffd7 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment.yaml @@ -0,0 +1,12 @@ +- ['payment.acquirer', 'check_validity', ''] +- ['payment.acquirer', 'payment_flow', ''] +- ['payment.acquirer', 'registration_view_template_id', ''] +- ['payment.acquirer', 'save_token', ''] +- ['payment.acquirer', 'view_template_id', ''] +- ['payment.token', 'payment_ids', ''] +- ['payment.transaction', 'date', ''] +- ['payment.transaction', 'html_3ds', ''] +- ['payment.transaction', 'is_processed', ''] +- ['payment.transaction', 'payment_token_id', ''] +- ['payment.transaction', 'return_url', ''] +- ['payment.transaction', 'type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_adyen.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_adyen.yaml new file mode 100644 index 00000000..6da58412 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_adyen.yaml @@ -0,0 +1,2 @@ +- ['payment.acquirer', 'adyen_skin_code', ''] +- ['payment.acquirer', 'adyen_skin_hmac_key', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_adyen_paybylink.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_adyen_paybylink.yaml new file mode 100644 index 00000000..6da58412 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_adyen_paybylink.yaml @@ -0,0 +1,2 @@ +- ['payment.acquirer', 'adyen_skin_code', ''] +- ['payment.acquirer', 'adyen_skin_hmac_key', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_buckaroo.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_buckaroo.yaml new file mode 100644 index 00000000..4b452ec6 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_buckaroo.yaml @@ -0,0 +1,2 @@ +- ['payment.acquirer', 'brq_secretkey', ''] +- ['payment.acquirer', 'brq_websitekey', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_ingenico.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_ingenico.yaml new file mode 100644 index 00000000..5be37372 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_ingenico.yaml @@ -0,0 +1 @@ +- ['payment.acquirer', 'ogone_alias_usage', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_paypal.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_paypal.yaml new file mode 100644 index 00000000..797a90aa --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_paypal.yaml @@ -0,0 +1,5 @@ +- ['payment.acquirer', 'fees_dom_fixed', ''] +- ['payment.acquirer', 'fees_dom_var', ''] +- ['payment.acquirer', 'fees_int_fixed', ''] +- ['payment.acquirer', 'fees_int_var', ''] +- ['payment.transaction', 'paypal_txn_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_stripe.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_stripe.yaml new file mode 100644 index 00000000..e7ecd0c5 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/payment_stripe.yaml @@ -0,0 +1,2 @@ +- ['payment.acquirer', 'stripe_image_url', ''] +- ['payment.transaction', 'stripe_payment_intent_secret', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/point_of_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/point_of_sale.yaml new file mode 100644 index 00000000..0112c657 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/point_of_sale.yaml @@ -0,0 +1,7 @@ +- ['account.bank.statement.cashbox', 'is_a_template', ''] +- ['account.bank.statement.cashbox', 'pos_config_ids', ''] +- ['account.bank.statement.line', 'pos_statement_id', ''] +- ['pos.config', 'default_cashbox_id', ''] +- ['pos.config', 'iface_vkeyboard', ''] +- ['pos.config', 'manage_orders', ''] +- ['pos.payment.method', 'cash_journal_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/portal.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/portal.yaml new file mode 100644 index 00000000..2dd25031 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/portal.yaml @@ -0,0 +1 @@ +- ['adyen.account', 'website_message_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pos_adyen.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pos_adyen.yaml new file mode 100644 index 00000000..92e88e14 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/pos_adyen.yaml @@ -0,0 +1,19 @@ +- ['adyen.account', 'store_ids', ''] +- ['adyen.account', 'terminal_ids', ''] +- ['adyen.store', 'adyen_account_id', ''] +- ['adyen.store', 'city', ''] +- ['adyen.store', 'country_id', ''] +- ['adyen.store', 'house_number_or_name', ''] +- ['adyen.store', 'name', ''] +- ['adyen.store', 'phone_number', ''] +- ['adyen.store', 'state_id', ''] +- ['adyen.store', 'store_reference', ''] +- ['adyen.store', 'store_uuid', ''] +- ['adyen.store', 'street', ''] +- ['adyen.store', 'terminal_ids', ''] +- ['adyen.store', 'zip', ''] +- ['adyen.terminal', 'adyen_account_id', ''] +- ['adyen.terminal', 'store_id', ''] +- ['adyen.terminal', 'terminal_uuid', ''] +- ['pos.payment.method', 'adyen_payout_id', ''] +- ['pos.payment.method', 'adyen_terminal_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/project.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/project.yaml new file mode 100644 index 00000000..c974661b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/project.yaml @@ -0,0 +1,5 @@ +- ['project.project', 'allowed_internal_user_ids', ''] +- ['project.project', 'allowed_portal_user_ids', ''] +- ['project.project', 'subtask_project_id', ''] +- ['project.task', 'allowed_user_ids', ''] +- ['project.task', 'user_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/project_timesheet_holidays.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/project_timesheet_holidays.yaml new file mode 100644 index 00000000..01fa273d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/project_timesheet_holidays.yaml @@ -0,0 +1 @@ +- ['res.company', 'leave_timesheet_project_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/purchase_stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/purchase_stock.yaml new file mode 100644 index 00000000..d62c7360 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/purchase_stock.yaml @@ -0,0 +1 @@ +- ['purchase.order', 'picking_count', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sale_stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sale_stock.yaml new file mode 100644 index 00000000..d13d4379 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sale_stock.yaml @@ -0,0 +1 @@ +- ['sale.order.line', 'product_packaging', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sale_timesheet.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sale_timesheet.yaml new file mode 100644 index 00000000..85f69fe1 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sale_timesheet.yaml @@ -0,0 +1,5 @@ +- ['account.analytic.line', 'non_allow_billable', ''] +- ['project.project', 'bill_type', ''] +- ['project.sale.line.employee.map', 'timesheet_product_id', ''] +- ['project.task', 'non_allow_billable', ''] +- ['project.task', 'sale_order_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sms.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sms.yaml new file mode 100644 index 00000000..35076106 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/sms.yaml @@ -0,0 +1 @@ +- ['sms.sms', 'error_code', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/stock.yaml new file mode 100644 index 00000000..43bd8f9c --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/stock.yaml @@ -0,0 +1,32 @@ +- ['stock.inventory', 'activity_ids', ''] +- ['stock.inventory', 'company_id', ''] +- ['stock.inventory', 'date', ''] +- ['stock.inventory', 'exhausted', ''] +- ['stock.inventory', 'line_ids', ''] +- ['stock.inventory', 'location_ids', ''] +- ['stock.inventory', 'message_follower_ids', ''] +- ['stock.inventory', 'message_ids', ''] +- ['stock.inventory', 'message_main_attachment_id', ''] +- ['stock.inventory', 'move_ids', ''] +- ['stock.inventory', 'name', ''] +- ['stock.inventory', 'prefill_counted_quantity', ''] +- ['stock.inventory', 'product_ids', ''] +- ['stock.inventory', 'start_empty', ''] +- ['stock.inventory', 'state', ''] +- ['stock.inventory', 'website_message_ids', ''] +- ['stock.inventory.line', 'categ_id', ''] +- ['stock.inventory.line', 'company_id', ''] +- ['stock.inventory.line', 'inventory_date', ''] +- ['stock.inventory.line', 'inventory_id', ''] +- ['stock.inventory.line', 'is_editable', ''] +- ['stock.inventory.line', 'location_id', ''] +- ['stock.inventory.line', 'package_id', ''] +- ['stock.inventory.line', 'partner_id', ''] +- ['stock.inventory.line', 'prod_lot_id', ''] +- ['stock.inventory.line', 'product_id', ''] +- ['stock.inventory.line', 'product_qty', ''] +- ['stock.inventory.line', 'product_uom_id', ''] +- ['stock.inventory.line', 'theoretical_qty', ''] +- ['stock.move', 'inventory_id', ''] +- ['stock.move', 'note', ''] +- ['stock.quant.package', 'packaging_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/stock_account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/stock_account.yaml new file mode 100644 index 00000000..3767ae4b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/stock_account.yaml @@ -0,0 +1 @@ +- ['stock.inventory', 'accounting_date', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/survey.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/survey.yaml new file mode 100644 index 00000000..2b38152e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/survey.yaml @@ -0,0 +1 @@ +- ['survey.survey', 'state', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/utm.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/utm.yaml new file mode 100644 index 00000000..6d0cd84d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/utm.yaml @@ -0,0 +1 @@ +- ['utm.campaign', 'is_website', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_questions.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_questions.yaml new file mode 100644 index 00000000..d2e2a55d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_questions.yaml @@ -0,0 +1 @@ +- ['event.type', 'use_questions', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track.yaml new file mode 100644 index 00000000..8e6c5651 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track.yaml @@ -0,0 +1,2 @@ +- ['event.track.stage', 'is_accepted', ''] +- ['event.track.stage', 'is_done', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track_exhibitor.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track_exhibitor.yaml new file mode 100644 index 00000000..d6116837 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track_exhibitor.yaml @@ -0,0 +1 @@ +- ['event.sponsor', 'is_exhibitor', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track_quiz.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track_quiz.yaml new file mode 100644 index 00000000..0db817bf --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_event_track_quiz.yaml @@ -0,0 +1 @@ +- ['event.quiz', 'event_track_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_mass_mailing.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_mass_mailing.yaml new file mode 100644 index 00000000..b66b99a9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_mass_mailing.yaml @@ -0,0 +1,5 @@ +- ['mailing.list', 'toast_content', ''] +- ['mailing.list', 'website_popup_ids', ''] +- ['website.mass_mailing.popup', 'mailing_list_id', ''] +- ['website.mass_mailing.popup', 'popup_content', ''] +- ['website.mass_mailing.popup', 'website_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_sale_stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_sale_stock.yaml new file mode 100644 index 00000000..b7b443cd --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_140_150/website_sale_stock.yaml @@ -0,0 +1,2 @@ +- ['product.template', 'custom_message', ''] +- ['product.template', 'inventory_availability', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/account.yaml index 2fb665a2..04e5fb82 100644 --- a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/account.yaml +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/account.yaml @@ -1 +1,71 @@ -- ["account.move.line", "exclude_from_invoice_tab", "Commit https://github.com/odoo/odoo/commit/d8d47f9ff8554f4b39487fd2f13c153c7d6f958d"] +- ['account.account', 'internal_type', ''] +- ['account.account', 'user_type_id', ''] +- ['account.account.tag', 'tax_report_line_ids', ''] +- ['account.account.template', 'user_type_id', ''] +- ['account.account.type', 'include_initial_balance', ''] +- ['account.account.type', 'internal_group', ''] +- ['account.account.type', 'name', ''] +- ['account.account.type', 'note', ''] +- ['account.account.type', 'type', ''] +- ['account.analytic.default', 'account_id', ''] +- ['account.analytic.default', 'analytic_id', ''] +- ['account.analytic.default', 'analytic_tag_ids', ''] +- ['account.analytic.default', 'company_id', ''] +- ['account.analytic.default', 'date_start', ''] +- ['account.analytic.default', 'date_stop', ''] +- ['account.analytic.default', 'partner_id', ''] +- ['account.analytic.default', 'product_id', ''] +- ['account.analytic.default', 'sequence', ''] +- ['account.analytic.default', 'user_id', ''] +- ['account.analytic.line', 'move_id', ''] +- ['account.bank.statement', 'cashbox_end_id', ''] +- ['account.bank.statement', 'cashbox_start_id', ''] +- ['account.bank.statement', 'date_done', ''] +- ['account.bank.statement', 'difference', ''] +- ['account.bank.statement', 'is_valid_balance_start', ''] +- ['account.bank.statement', 'message_follower_ids', ''] +- ['account.bank.statement', 'message_ids', ''] +- ['account.bank.statement', 'message_main_attachment_id', ''] +- ['account.bank.statement', 'move_line_ids', ''] +- ['account.bank.statement', 'previous_statement_id', ''] +- ['account.bank.statement', 'sequence_number', ''] +- ['account.bank.statement', 'sequence_prefix', ''] +- ['account.bank.statement', 'state', ''] +- ['account.bank.statement', 'total_entry_encoding', ''] +- ['account.bank.statement', 'user_id', ''] +- ['account.bank.statement', 'website_message_ids', ''] +- ['account.bank.statement.cashbox', 'cashbox_lines_ids', ''] +- ['account.bank.statement.cashbox', 'end_bank_stmt_ids', ''] +- ['account.bank.statement.cashbox', 'start_bank_stmt_ids', ''] +- ['account.cashbox.line', 'cashbox_id', ''] +- ['account.cashbox.line', 'coin_value', ''] +- ['account.cashbox.line', 'number', ''] +- ['account.chart.template', 'complete_tax_set', ''] +- ['account.journal', 'type_control_ids', ''] +- ['account.move', 'tax_totals_json', ''] +- ['account.move.line', 'analytic_account_id', ''] +- ['account.move.line', 'analytic_tag_ids', ''] +- ['account.move.line', 'exclude_from_invoice_tab', 'Commit https://github.com/odoo/odoo/commit/d8d47f9ff8554f4b39487fd2f13c153c7d6f958d'] +- ['account.move.line', 'is_rounding_line', ''] +- ['account.move.line', 'recompute_tax_line', ''] +- ['account.payment.term.line', 'day_of_the_month', ''] +- ['account.payment.term.line', 'option', ''] +- ['account.payment.term.line', 'sequence', ''] +- ['account.reconcile.model.line', 'analytic_account_id', ''] +- ['account.reconcile.model.line', 'analytic_tag_ids', ''] +- ['account.tax.carryover.line', 'amount', ''] +- ['account.tax.carryover.line', 'tax_report_line_id', ''] +- ['account.tax.repartition.line.template', 'minus_report_line_ids', ''] +- ['account.tax.repartition.line.template', 'plus_report_line_ids', ''] +- ['account.tax.report', 'root_line_ids', ''] +- ['account.tax.report.line', 'carry_over_condition_method', ''] +- ['account.tax.report.line', 'carry_over_destination_line_id', ''] +- ['account.tax.report.line', 'carryover_line_ids', ''] +- ['account.tax.report.line', 'children_line_ids', ''] +- ['account.tax.report.line', 'formula', ''] +- ['account.tax.report.line', 'is_carryover_persistent', ''] +- ['account.tax.report.line', 'is_carryover_used_in_balance', ''] +- ['account.tax.report.line', 'parent_path', ''] +- ['account.tax.report.line', 'report_action_id', ''] +- ['account.tax.report.line', 'tag_ids', ''] +- ['account.tax.report.line', 'tag_name', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/analytic.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/analytic.yaml new file mode 100644 index 00000000..c510bd41 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/analytic.yaml @@ -0,0 +1,12 @@ +- ['account.analytic.account', 'group_id', ''] +- ['account.analytic.distribution', 'account_id', ''] +- ['account.analytic.distribution', 'percentage', ''] +- ['account.analytic.distribution', 'tag_id', ''] +- ['account.analytic.line', 'group_id', ''] +- ['account.analytic.line', 'tag_ids', ''] +- ['account.analytic.tag', 'active', ''] +- ['account.analytic.tag', 'active_analytic_distribution', ''] +- ['account.analytic.tag', 'analytic_distribution_ids', ''] +- ['account.analytic.tag', 'color', ''] +- ['account.analytic.tag', 'company_id', ''] +- ['account.analytic.tag', 'name', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/base.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/base.yaml new file mode 100644 index 00000000..79cbdf88 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/base.yaml @@ -0,0 +1,9 @@ +- ['ir.translation', 'comments', ''] +- ['ir.translation', 'lang', ''] +- ['ir.translation', 'module', ''] +- ['ir.translation', 'name', ''] +- ['ir.translation', 'res_id', ''] +- ['ir.translation', 'src', ''] +- ['ir.translation', 'state', ''] +- ['ir.translation', 'type', ''] +- ['ir.translation', 'value', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/base_address_extended.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/base_address_extended.yaml new file mode 100644 index 00000000..f0374078 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/base_address_extended.yaml @@ -0,0 +1 @@ +- ['res.country', 'street_format', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/coupon.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/coupon.yaml new file mode 100644 index 00000000..925ea8da --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/coupon.yaml @@ -0,0 +1,23 @@ +- ['coupon.coupon', 'state', ''] +- ['coupon.program', '_inherits', ''] +- ['coupon.program', 'maximum_use_number', ''] +- ['coupon.program', 'promo_applicability', ''] +- ['coupon.program', 'promo_code', ''] +- ['coupon.program', 'promo_code_usage', ''] +- ['coupon.program', 'reward_id', ''] +- ['coupon.program', 'rule_id', ''] +- ['coupon.program', 'validity_duration', ''] +- ['coupon.reward', 'discount_apply_on', ''] +- ['coupon.reward', 'discount_fixed_amount', ''] +- ['coupon.reward', 'discount_percentage', ''] +- ['coupon.reward', 'discount_specific_product_ids', ''] +- ['coupon.reward', 'discount_type', ''] +- ['coupon.reward', 'reward_description', ''] +- ['coupon.reward', 'reward_product_quantity', ''] +- ['coupon.rule', 'rule_date_from', ''] +- ['coupon.rule', 'rule_date_to', ''] +- ['coupon.rule', 'rule_min_quantity', ''] +- ['coupon.rule', 'rule_minimum_amount', ''] +- ['coupon.rule', 'rule_minimum_amount_tax_inclusion', ''] +- ['coupon.rule', 'rule_partners_domain', ''] +- ['coupon.rule', 'rule_products_domain', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/crm.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/crm.yaml new file mode 100644 index 00000000..4ca7ec3f --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/crm.yaml @@ -0,0 +1 @@ +- ['crm.lead', 'lost_reason', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/delivery.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/delivery.yaml new file mode 100644 index 00000000..1480c778 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/delivery.yaml @@ -0,0 +1,2 @@ +- ['delivery.carrier', 'zip_from', ''] +- ['delivery.carrier', 'zip_to', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/event.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/event.yaml new file mode 100644 index 00000000..6f51eb5b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/event.yaml @@ -0,0 +1 @@ +- ['event.registration', 'date_open', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/fetchmail_gmail.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/fetchmail_gmail.yaml new file mode 100644 index 00000000..496e5119 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/fetchmail_gmail.yaml @@ -0,0 +1 @@ +- ['fetchmail.server', 'use_google_gmail_service', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/fetchmail_outlook.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/fetchmail_outlook.yaml new file mode 100644 index 00000000..f5fdd856 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/fetchmail_outlook.yaml @@ -0,0 +1 @@ +- ['fetchmail.server', 'use_microsoft_outlook_service', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/google_calendar.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/google_calendar.yaml new file mode 100644 index 00000000..77772a8d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/google_calendar.yaml @@ -0,0 +1 @@ +- ['res.users', 'google_cal_account_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/google_gmail.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/google_gmail.yaml new file mode 100644 index 00000000..330bc229 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/google_gmail.yaml @@ -0,0 +1 @@ +- ['ir.mail_server', 'use_google_gmail_service', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr.yaml new file mode 100644 index 00000000..ffde8302 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr.yaml @@ -0,0 +1 @@ +- ['hr.job', 'state', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_expense.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_expense.yaml new file mode 100644 index 00000000..595355ac --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_expense.yaml @@ -0,0 +1,2 @@ +- ['hr.expense', 'analytic_account_id', ''] +- ['hr.expense', 'analytic_tag_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_holidays.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_holidays.yaml new file mode 100644 index 00000000..730e3bf2 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_holidays.yaml @@ -0,0 +1 @@ +- ['hr.leave', 'request_unit_custom', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_recruitment.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_recruitment.yaml new file mode 100644 index 00000000..48167904 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_recruitment.yaml @@ -0,0 +1 @@ +- ['hr.recruitment.source', '_inherits', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_timesheet.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_timesheet.yaml new file mode 100644 index 00000000..52252471 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/hr_timesheet.yaml @@ -0,0 +1 @@ +- ['hr.employee', 'timesheet_cost', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_ar.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_ar.yaml new file mode 100644 index 00000000..f269b17e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_ar.yaml @@ -0,0 +1 @@ +- ['account.journal', 'l10n_ar_share_sequences', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_in_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_in_sale.yaml new file mode 100644 index 00000000..add21289 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_in_sale.yaml @@ -0,0 +1 @@ +- ['res.partner', 'l10n_in_shipping_gstin', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_it.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_it.yaml new file mode 100644 index 00000000..7a2dc7c2 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_it.yaml @@ -0,0 +1 @@ +- ['account.tax.report.line', 'carry_over_condition_method', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_it_edi.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_it_edi.yaml new file mode 100644 index 00000000..14ce4408 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_it_edi.yaml @@ -0,0 +1,6 @@ +- ['account.move', 'l10n_it_send_state', ''] +- ['fetchmail.server', 'l10n_it_is_pec', ''] +- ['fetchmail.server', 'l10n_it_last_uid', ''] +- ['res.company', 'l10n_it_address_recipient_fatturapa', ''] +- ['res.company', 'l10n_it_address_send_fatturapa', ''] +- ['res.company', 'l10n_it_mail_pec_server_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_mx.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_mx.yaml new file mode 100644 index 00000000..790fe3df --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_mx.yaml @@ -0,0 +1 @@ +- ['account.account.tag', 'nature', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_rs.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_rs.yaml new file mode 100644 index 00000000..d9f26779 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/l10n_rs.yaml @@ -0,0 +1 @@ +- ['res.partner', 'l10n_rs_company_registry', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mail.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mail.yaml new file mode 100644 index 00000000..99dba9fe --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mail.yaml @@ -0,0 +1,11 @@ +- ['mail.channel', '_inherits', ''] +- ['mail.channel', 'alias_id', ''] +- ['mail.channel', 'channel_last_seen_partner_ids', ''] +- ['mail.channel', 'public', ''] +- ['mail.channel.rtc.session', 'channel_partner_id', ''] +- ['mail.message', 'add_sign', ''] +- ['mail.template', 'copyvalue', ''] +- ['mail.template', 'model_object_field', ''] +- ['mail.template', 'null_value', ''] +- ['mail.template', 'sub_model_object_field', ''] +- ['mail.template', 'sub_object', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mass_mailing.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mass_mailing.yaml new file mode 100644 index 00000000..5412f783 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mass_mailing.yaml @@ -0,0 +1,6 @@ +- ['mailing.mailing', '_inherits', ''] +- ['mailing.mailing', 'copyvalue', ''] +- ['mailing.mailing', 'model_object_field', ''] +- ['mailing.mailing', 'null_value', ''] +- ['mailing.mailing', 'sub_model_object_field', ''] +- ['mailing.mailing', 'sub_object', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/microsoft_outlook.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/microsoft_outlook.yaml new file mode 100644 index 00000000..d6fafb18 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/microsoft_outlook.yaml @@ -0,0 +1 @@ +- ['ir.mail_server', 'use_microsoft_outlook_service', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mrp.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mrp.yaml new file mode 100644 index 00000000..730e8e20 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/mrp.yaml @@ -0,0 +1,2 @@ +- ['mrp.workcenter', 'capacity', ''] +- ['mrp.workorder', 'next_work_order_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/note_pad.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/note_pad.yaml new file mode 100644 index 00000000..2fae7205 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/note_pad.yaml @@ -0,0 +1 @@ +- ['note.note', 'note_pad_url', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pad_project.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pad_project.yaml new file mode 100644 index 00000000..3ddabf08 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pad_project.yaml @@ -0,0 +1,3 @@ +- ['project.project', 'description_pad', ''] +- ['project.project', 'use_pads', ''] +- ['project.task', 'description_pad', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment.yaml new file mode 100644 index 00000000..99381f86 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment.yaml @@ -0,0 +1,13 @@ +- ['account.payment.method.line', 'payment_acquirer_id', ''] +- ['payment.acquirer', 'country_ids', ''] +- ['payment.acquirer', 'description', ''] +- ['payment.acquirer', 'provider', ''] +- ['payment.acquirer', 'support_authorization', ''] +- ['payment.acquirer', 'support_fees_computation', ''] +- ['payment.icon', 'acquirer_ids', ''] +- ['payment.token', 'acquirer_id', ''] +- ['payment.token', 'acquirer_ref', ''] +- ['payment.token', 'name', ''] +- ['payment.transaction', 'acquirer_id', ''] +- ['payment.transaction', 'acquirer_reference', ''] +- ['res.company', 'payment_acquirer_onboarding_state', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_adyen.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_adyen.yaml new file mode 100644 index 00000000..56ffecb9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_adyen.yaml @@ -0,0 +1 @@ +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_alipay.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_alipay.yaml new file mode 100644 index 00000000..774e2181 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_alipay.yaml @@ -0,0 +1,5 @@ +- ['payment.acquirer', 'alipay_md5_signature_key', ''] +- ['payment.acquirer', 'alipay_merchant_partner_id', ''] +- ['payment.acquirer', 'alipay_payment_method', ''] +- ['payment.acquirer', 'alipay_seller_email', ''] +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_authorize.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_authorize.yaml new file mode 100644 index 00000000..56ffecb9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_authorize.yaml @@ -0,0 +1 @@ +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_buckaroo.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_buckaroo.yaml new file mode 100644 index 00000000..56ffecb9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_buckaroo.yaml @@ -0,0 +1 @@ +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_mollie.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_mollie.yaml new file mode 100644 index 00000000..56ffecb9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_mollie.yaml @@ -0,0 +1 @@ +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_ogone.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_ogone.yaml new file mode 100644 index 00000000..d4d3ea4a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_ogone.yaml @@ -0,0 +1,6 @@ +- ['payment.acquirer', 'ogone_password', ''] +- ['payment.acquirer', 'ogone_pspid', ''] +- ['payment.acquirer', 'ogone_shakey_in', ''] +- ['payment.acquirer', 'ogone_shakey_out', ''] +- ['payment.acquirer', 'ogone_userid', ''] +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_paypal.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_paypal.yaml new file mode 100644 index 00000000..56ffecb9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_paypal.yaml @@ -0,0 +1 @@ +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_payulatam.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_payulatam.yaml new file mode 100644 index 00000000..e0fca4ac --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_payulatam.yaml @@ -0,0 +1,4 @@ +- ['payment.acquirer', 'payulatam_account_id', ''] +- ['payment.acquirer', 'payulatam_api_key', ''] +- ['payment.acquirer', 'payulatam_merchant_id', ''] +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_payumoney.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_payumoney.yaml new file mode 100644 index 00000000..4fea44b1 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_payumoney.yaml @@ -0,0 +1,3 @@ +- ['payment.acquirer', 'payumoney_merchant_key', ''] +- ['payment.acquirer', 'payumoney_merchant_salt', ''] +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_sips.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_sips.yaml new file mode 100644 index 00000000..56ffecb9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_sips.yaml @@ -0,0 +1 @@ +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_stripe.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_stripe.yaml new file mode 100644 index 00000000..56ffecb9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_stripe.yaml @@ -0,0 +1 @@ +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_transfer.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_transfer.yaml new file mode 100644 index 00000000..56ffecb9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/payment_transfer.yaml @@ -0,0 +1 @@ +- ['payment.acquirer', 'provider', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/point_of_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/point_of_sale.yaml new file mode 100644 index 00000000..6ec18546 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/point_of_sale.yaml @@ -0,0 +1,12 @@ +- ['account.bank.statement', 'pos_session_id', ''] +- ['pos.config', 'barcode_nomenclature_id', ''] +- ['pos.config', 'iface_display_categ_images', ''] +- ['pos.config', 'iface_orderline_customer_notes', ''] +- ['pos.config', 'module_account', ''] +- ['pos.config', 'module_pos_loyalty', ''] +- ['pos.config', 'product_configurator', ''] +- ['pos.config', 'tax_regime', ''] +- ['pos.session', 'cash_real_difference', ''] +- ['pos.session', 'cash_real_expected', ''] +- ['pos.session', 'cash_register_id', ''] +- ['pos.session', 'statement_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_coupon.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_coupon.yaml new file mode 100644 index 00000000..cc19dcbb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_coupon.yaml @@ -0,0 +1,11 @@ +- ['coupon.coupon', 'pos_order_id', ''] +- ['coupon.program', 'pos_order_ids', ''] +- ['coupon.program', 'pos_order_line_ids', ''] +- ['coupon.program', 'promo_barcode', ''] +- ['pos.config', 'program_ids', ''] +- ['pos.config', 'use_coupon_programs', ''] +- ['pos.order', 'applied_program_ids', ''] +- ['pos.order', 'generated_coupon_ids', ''] +- ['pos.order', 'used_coupon_ids', ''] +- ['pos.order.line', 'is_program_reward', ''] +- ['pos.order.line', 'program_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_gift_card.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_gift_card.yaml new file mode 100644 index 00000000..1988417a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_gift_card.yaml @@ -0,0 +1,7 @@ +- ['barcode.rule', 'type', ''] +- ['gift.card', 'buy_pos_order_line_id', ''] +- ['gift.card', 'redeem_pos_order_line_ids', ''] +- ['pos.config', 'gift_card_product_id', ''] +- ['pos.config', 'use_gift_card', ''] +- ['pos.order.line', 'generated_gift_card_ids', ''] +- ['pos.order.line', 'gift_card_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_restaurant.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_restaurant.yaml new file mode 100644 index 00000000..d2fab8c6 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_restaurant.yaml @@ -0,0 +1 @@ +- ['pos.order.line', 'mp_dirty', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_sale_product_configurator.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_sale_product_configurator.yaml new file mode 100644 index 00000000..2ac575b9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/pos_sale_product_configurator.yaml @@ -0,0 +1 @@ +- ['pos.config', 'iface_open_product_info', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/product.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/product.yaml index cbe90e6e..82066d83 100644 --- a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/product.yaml +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/product.yaml @@ -1 +1,3 @@ -- ["product.product", "price", "Commit https://github.com/odoo/odoo/commit/9e99a9df464d97a74ca320d"] +- ['product.product', 'price', 'Commit https://github.com/odoo/odoo/commit/9e99a9df464d97a74ca320d'] +- ['product.supplierinfo', 'name', ''] +- ['product.template', 'pricelist_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/project.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/project.yaml new file mode 100644 index 00000000..5d55ffa7 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/project.yaml @@ -0,0 +1,3 @@ +- ['account.analytic.tag', 'task_ids', ''] +- ['project.task', 'analytic_tag_ids', ''] +- ['project.task.type', 'is_closed', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase.yaml new file mode 100644 index 00000000..32fd29cf --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase.yaml @@ -0,0 +1,2 @@ +- ['purchase.order.line', 'account_analytic_id', ''] +- ['purchase.order.line', 'analytic_tag_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase_requisition.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase_requisition.yaml new file mode 100644 index 00000000..00b5c2d0 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase_requisition.yaml @@ -0,0 +1,3 @@ +- ['product.template', 'purchase_requisition', ''] +- ['purchase.requisition.line', 'account_analytic_id', ''] +- ['purchase.requisition.line', 'analytic_tag_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase_requisition_stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase_requisition_stock.yaml new file mode 100644 index 00000000..278fd41c --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/purchase_requisition_stock.yaml @@ -0,0 +1 @@ +- ['purchase.requisition', 'procurement_group_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/resource.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/resource.yaml new file mode 100644 index 00000000..54d97e62 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/resource.yaml @@ -0,0 +1,4 @@ +- ['resource.test', 'company_id', ''] +- ['resource.test', 'name', ''] +- ['resource.test', 'resource_calendar_id', ''] +- ['resource.test', 'resource_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale.yaml new file mode 100644 index 00000000..e5648122 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale.yaml @@ -0,0 +1,2 @@ +- ['sale.order.line', 'analytic_tag_ids', ''] +- ['sale.order.line', 'qty_delivered_manual', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_coupon.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_coupon.yaml new file mode 100644 index 00000000..d2833de0 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_coupon.yaml @@ -0,0 +1,4 @@ +- ['coupon.coupon', 'sales_order_id', ''] +- ['sale.order', 'code_promo_program_id', ''] +- ['sale.order', 'generated_coupon_ids', ''] +- ['sale.order', 'no_code_promo_program_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_expense.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_expense.yaml new file mode 100644 index 00000000..71db255e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_expense.yaml @@ -0,0 +1 @@ +- ['hr.expense', 'analytic_account_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_gift_card.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_gift_card.yaml new file mode 100644 index 00000000..152b906e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sale_gift_card.yaml @@ -0,0 +1,4 @@ +- ['gift.card', 'buy_line_id', ''] +- ['gift.card', 'redeem_line_ids', ''] +- ['sale.order.line', 'generated_gift_card_ids', ''] +- ['sale.order.line', 'gift_card_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sms.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sms.yaml new file mode 100644 index 00000000..0ba1de38 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/sms.yaml @@ -0,0 +1,6 @@ +- ['ir.actions.server', 'sms_mass_keep_log', ''] +- ['sms.template', 'copyvalue', ''] +- ['sms.template', 'model_object_field', ''] +- ['sms.template', 'null_value', ''] +- ['sms.template', 'sub_model_object_field', ''] +- ['sms.template', 'sub_object', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/stock.yaml new file mode 100644 index 00000000..15b4287f --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/stock.yaml @@ -0,0 +1,4 @@ +- ['stock.move.line', 'product_qty', ''] +- ['stock.move.line', 'product_uom_qty', ''] +- ['stock.picking', 'move_lines', ''] +- ['stock.rule', 'location_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/stock_account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/stock_account.yaml new file mode 100644 index 00000000..832cc798 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/stock_account.yaml @@ -0,0 +1 @@ +- ['account.move.line', 'is_anglo_saxon_line', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/survey.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/survey.yaml new file mode 100644 index 00000000..72296f92 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/survey.yaml @@ -0,0 +1,2 @@ +- ['survey.question', 'allow_value_image', ''] +- ['survey.question', 'column_nb', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website.yaml new file mode 100644 index 00000000..0eaaf0b2 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website.yaml @@ -0,0 +1,8 @@ +- ['website', 'country_group_ids', ''] +- ['website', 'google_management_client_id', ''] +- ['website', 'google_management_client_secret', ''] +- ['website', 'homepage_id', ''] +- ['website.menu', 'group_ids', ''] +- ['website.page', 'cache_key_expr', ''] +- ['website.page', 'cache_time', ''] +- ['website.visitor', 'active', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_crm_partner_assign.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_crm_partner_assign.yaml new file mode 100644 index 00000000..5e01926c --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_crm_partner_assign.yaml @@ -0,0 +1 @@ +- ['res.partner', 'implemented_count', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_event.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_event.yaml new file mode 100644 index 00000000..8b36159f --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_event.yaml @@ -0,0 +1 @@ +- ['website.visitor', 'parent_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale.yaml new file mode 100644 index 00000000..53d719ae --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale.yaml @@ -0,0 +1,2 @@ +- ['res.company', 'website_sale_onboarding_payment_acquirer_state', ''] +- ['website', 'cart_add_on_page', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale_gift_card.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale_gift_card.yaml new file mode 100644 index 00000000..32348a79 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale_gift_card.yaml @@ -0,0 +1 @@ +- ['gift.card', 'website_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale_stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale_stock.yaml new file mode 100644 index 00000000..35c482f5 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_sale_stock.yaml @@ -0,0 +1,2 @@ +- ['sale.order', 'warning_stock', ''] +- ['sale.order.line', 'warning_stock', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_slides.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_slides.yaml new file mode 100644 index 00000000..3ab0a97e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_150_160/website_slides.yaml @@ -0,0 +1,13 @@ +- ['slide.channel', 'nbr_presentation', ''] +- ['slide.channel', 'nbr_webpage', ''] +- ['slide.channel', 'share_template_id', ''] +- ['slide.slide', 'datas', ''] +- ['slide.slide', 'document_id', ''] +- ['slide.slide', 'embedcount_ids', ''] +- ['slide.slide', 'link_ids', ''] +- ['slide.slide', 'mime_type', ''] +- ['slide.slide', 'nbr_presentation', ''] +- ['slide.slide', 'nbr_webpage', ''] +- ['slide.slide.link', 'link', ''] +- ['slide.slide.link', 'name', ''] +- ['slide.slide.link', 'slide_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account.yaml new file mode 100644 index 00000000..ec95c973 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account.yaml @@ -0,0 +1,178 @@ +- ['account.account', 'is_off_balance', ''] +- ['account.account', 'message_main_attachment_id', ''] +- ['account.account.template', 'account_type', ''] +- ['account.account.template', 'chart_template_id', ''] +- ['account.account.template', 'code', ''] +- ['account.account.template', 'currency_id', ''] +- ['account.account.template', 'message_follower_ids', ''] +- ['account.account.template', 'message_ids', ''] +- ['account.account.template', 'message_main_attachment_id', ''] +- ['account.account.template', 'name', ''] +- ['account.account.template', 'nocreate', ''] +- ['account.account.template', 'note', ''] +- ['account.account.template', 'reconcile', ''] +- ['account.account.template', 'tag_ids', ''] +- ['account.account.template', 'tax_ids', ''] +- ['account.account.template', 'website_message_ids', ''] +- ['account.chart.template', 'account_ids', ''] +- ['account.chart.template', 'account_journal_early_pay_discount_gain_account_id', ''] +- ['account.chart.template', 'account_journal_early_pay_discount_loss_account_id', ''] +- ['account.chart.template', 'account_journal_payment_credit_account_id', ''] +- ['account.chart.template', 'account_journal_payment_debit_account_id', ''] +- ['account.chart.template', 'account_journal_suspense_account_id', ''] +- ['account.chart.template', 'bank_account_code_prefix', ''] +- ['account.chart.template', 'cash_account_code_prefix', ''] +- ['account.chart.template', 'code_digits', ''] +- ['account.chart.template', 'country_id', ''] +- ['account.chart.template', 'currency_id', ''] +- ['account.chart.template', 'default_cash_difference_expense_account_id', ''] +- ['account.chart.template', 'default_cash_difference_income_account_id', ''] +- ['account.chart.template', 'default_pos_receivable_account_id', ''] +- ['account.chart.template', 'expense_currency_exchange_account_id', ''] +- ['account.chart.template', 'income_currency_exchange_account_id', ''] +- ['account.chart.template', 'name', ''] +- ['account.chart.template', 'parent_id', ''] +- ['account.chart.template', 'property_account_expense_categ_id', ''] +- ['account.chart.template', 'property_account_expense_id', ''] +- ['account.chart.template', 'property_account_income_categ_id', ''] +- ['account.chart.template', 'property_account_income_id', ''] +- ['account.chart.template', 'property_account_payable_id', ''] +- ['account.chart.template', 'property_account_receivable_id', ''] +- ['account.chart.template', 'property_advance_tax_payment_account_id', ''] +- ['account.chart.template', 'property_cash_basis_base_account_id', ''] +- ['account.chart.template', 'property_stock_account_input_categ_id', ''] +- ['account.chart.template', 'property_stock_account_output_categ_id', ''] +- ['account.chart.template', 'property_stock_valuation_account_id', ''] +- ['account.chart.template', 'property_tax_payable_account_id', ''] +- ['account.chart.template', 'property_tax_receivable_account_id', ''] +- ['account.chart.template', 'tax_template_ids', ''] +- ['account.chart.template', 'transfer_account_code_prefix', ''] +- ['account.chart.template', 'use_anglo_saxon', ''] +- ['account.chart.template', 'use_storno_accounting', ''] +- ['account.chart.template', 'visible', ''] +- ['account.fiscal.position.account.template', 'account_dest_id', ''] +- ['account.fiscal.position.account.template', 'account_src_id', ''] +- ['account.fiscal.position.account.template', 'position_id', ''] +- ['account.fiscal.position.tax.template', 'position_id', ''] +- ['account.fiscal.position.tax.template', 'tax_dest_id', ''] +- ['account.fiscal.position.tax.template', 'tax_src_id', ''] +- ['account.fiscal.position.template', 'account_ids', ''] +- ['account.fiscal.position.template', 'auto_apply', ''] +- ['account.fiscal.position.template', 'chart_template_id', ''] +- ['account.fiscal.position.template', 'country_group_id', ''] +- ['account.fiscal.position.template', 'country_id', ''] +- ['account.fiscal.position.template', 'name', ''] +- ['account.fiscal.position.template', 'note', ''] +- ['account.fiscal.position.template', 'sequence', ''] +- ['account.fiscal.position.template', 'state_ids', ''] +- ['account.fiscal.position.template', 'tax_ids', ''] +- ['account.fiscal.position.template', 'vat_required', ''] +- ['account.fiscal.position.template', 'zip_from', ''] +- ['account.fiscal.position.template', 'zip_to', ''] +- ['account.full.reconcile', 'name', ''] +- ['account.group.template', 'chart_template_id', ''] +- ['account.group.template', 'code_prefix_end', ''] +- ['account.group.template', 'code_prefix_start', ''] +- ['account.group.template', 'name', ''] +- ['account.group.template', 'parent_id', ''] +- ['account.journal', 'message_main_attachment_id', ''] +- ['account.move.line', 'discount_percentage', ''] +- ['account.move.line', 'tax_audit', ''] +- ['account.payment.term.line', 'days', ''] +- ['account.payment.term.line', 'days_after', ''] +- ['account.payment.term.line', 'discount_days', ''] +- ['account.payment.term.line', 'discount_percentage', ''] +- ['account.payment.term.line', 'end_month', ''] +- ['account.payment.term.line', 'months', ''] +- ['account.reconcile.model', 'message_main_attachment_id', ''] +- ['account.reconcile.model.line.template', 'account_id', ''] +- ['account.reconcile.model.line.template', 'amount_string', ''] +- ['account.reconcile.model.line.template', 'amount_type', ''] +- ['account.reconcile.model.line.template', 'force_tax_included', ''] +- ['account.reconcile.model.line.template', 'label', ''] +- ['account.reconcile.model.line.template', 'model_id', ''] +- ['account.reconcile.model.line.template', 'sequence', ''] +- ['account.reconcile.model.line.template', 'tax_ids', ''] +- ['account.reconcile.model.template', 'allow_payment_tolerance', ''] +- ['account.reconcile.model.template', 'auto_reconcile', ''] +- ['account.reconcile.model.template', 'chart_template_id', ''] +- ['account.reconcile.model.template', 'decimal_separator', ''] +- ['account.reconcile.model.template', 'line_ids', ''] +- ['account.reconcile.model.template', 'match_amount', ''] +- ['account.reconcile.model.template', 'match_amount_max', ''] +- ['account.reconcile.model.template', 'match_amount_min', ''] +- ['account.reconcile.model.template', 'match_journal_ids', ''] +- ['account.reconcile.model.template', 'match_label', ''] +- ['account.reconcile.model.template', 'match_label_param', ''] +- ['account.reconcile.model.template', 'match_nature', ''] +- ['account.reconcile.model.template', 'match_note', ''] +- ['account.reconcile.model.template', 'match_note_param', ''] +- ['account.reconcile.model.template', 'match_partner', ''] +- ['account.reconcile.model.template', 'match_partner_category_ids', ''] +- ['account.reconcile.model.template', 'match_partner_ids', ''] +- ['account.reconcile.model.template', 'match_same_currency', ''] +- ['account.reconcile.model.template', 'match_text_location_label', ''] +- ['account.reconcile.model.template', 'match_text_location_note', ''] +- ['account.reconcile.model.template', 'match_text_location_reference', ''] +- ['account.reconcile.model.template', 'match_transaction_type', ''] +- ['account.reconcile.model.template', 'match_transaction_type_param', ''] +- ['account.reconcile.model.template', 'matching_order', ''] +- ['account.reconcile.model.template', 'name', ''] +- ['account.reconcile.model.template', 'payment_tolerance_param', ''] +- ['account.reconcile.model.template', 'payment_tolerance_type', ''] +- ['account.reconcile.model.template', 'rule_type', ''] +- ['account.reconcile.model.template', 'sequence', ''] +- ['account.reconcile.model.template', 'to_check', ''] +- ['account.report', 'chart_template_id', ''] +- ['account.tax', 'real_amount', ''] +- ['account.tax.group', 'property_advance_tax_payment_account_id', ''] +- ['account.tax.group', 'property_tax_payable_account_id', ''] +- ['account.tax.group', 'property_tax_receivable_account_id', ''] +- ['account.tax.repartition.line', 'invoice_tax_id', ''] +- ['account.tax.repartition.line', 'refund_tax_id', ''] +- ['account.tax.repartition.line.template', 'account_id', ''] +- ['account.tax.repartition.line.template', 'factor_percent', ''] +- ['account.tax.repartition.line.template', 'invoice_tax_id', ''] +- ['account.tax.repartition.line.template', 'minus_report_expression_ids', ''] +- ['account.tax.repartition.line.template', 'plus_report_expression_ids', ''] +- ['account.tax.repartition.line.template', 'refund_tax_id', ''] +- ['account.tax.repartition.line.template', 'repartition_type', ''] +- ['account.tax.repartition.line.template', 'tag_ids', ''] +- ['account.tax.repartition.line.template', 'use_in_tax_closing', ''] +- ['account.tax.template', 'active', ''] +- ['account.tax.template', 'amount', ''] +- ['account.tax.template', 'amount_type', ''] +- ['account.tax.template', 'analytic', ''] +- ['account.tax.template', 'cash_basis_transition_account_id', ''] +- ['account.tax.template', 'chart_template_id', ''] +- ['account.tax.template', 'children_tax_ids', ''] +- ['account.tax.template', 'description', ''] +- ['account.tax.template', 'include_base_amount', ''] +- ['account.tax.template', 'invoice_repartition_line_ids', ''] +- ['account.tax.template', 'is_base_affected', ''] +- ['account.tax.template', 'name', ''] +- ['account.tax.template', 'price_include', ''] +- ['account.tax.template', 'refund_repartition_line_ids', ''] +- ['account.tax.template', 'sequence', ''] +- ['account.tax.template', 'tax_exigibility', ''] +- ['account.tax.template', 'tax_group_id', ''] +- ['account.tax.template', 'tax_scope', ''] +- ['account.tax.template', 'type_tax_use', ''] +- ['res.company', 'account_dashboard_onboarding_state', ''] +- ['res.company', 'account_invoice_onboarding_state', ''] +- ['res.company', 'account_onboarding_create_invoice_state_flag', ''] +- ['res.company', 'account_onboarding_invoice_layout_state', ''] +- ['res.company', 'account_onboarding_sale_tax_state', ''] +- ['res.company', 'account_setup_bank_data_state', ''] +- ['res.company', 'account_setup_bill_state', ''] +- ['res.company', 'account_setup_coa_state', ''] +- ['res.company', 'account_setup_fy_data_state', ''] +- ['res.company', 'account_setup_taxes_state', ''] +- ['res.company', 'chart_template_id', ''] +- ['res.company', 'early_pay_discount_computation', ''] +- ['res.company', 'invoice_is_print', ''] +- ['res.company', 'message_main_attachment_id', ''] +- ['res.company', 'property_stock_account_input_categ_id', ''] +- ['res.company', 'property_stock_account_output_categ_id', ''] +- ['res.company', 'property_stock_valuation_account_id', ''] +- ['res.partner.bank', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account_edi_proxy_client.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account_edi_proxy_client.yaml new file mode 100644 index 00000000..513a7a18 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account_edi_proxy_client.yaml @@ -0,0 +1 @@ +- ['account_edi_proxy_client.user', 'edi_format_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account_tax_python.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account_tax_python.yaml new file mode 100644 index 00000000..de11e41b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/account_tax_python.yaml @@ -0,0 +1,3 @@ +- ['account.tax.template', 'amount_type', ''] +- ['account.tax.template', 'python_applicable', ''] +- ['account.tax.template', 'python_compute', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/analytic.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/analytic.yaml new file mode 100644 index 00000000..1fe3547b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/analytic.yaml @@ -0,0 +1,3 @@ +- ['account.analytic.account', 'message_main_attachment_id', ''] +- ['account.analytic.line', 'plan_id', ''] +- ['account.analytic.plan', 'company_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base.yaml new file mode 100644 index 00000000..e8f0f00e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base.yaml @@ -0,0 +1,8 @@ +- ['ir.actions.server', 'fields_lines', ''] +- ['ir.server.object.lines', 'col1', ''] +- ['ir.server.object.lines', 'evaluation_type', ''] +- ['ir.server.object.lines', 'server_id', ''] +- ['ir.server.object.lines', 'value', ''] +- ['ir.ui.view', 'field_parent', ''] +- ['res.company', 'base_onboarding_company_state', ''] +- ['res.company', 'favicon', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_automation.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_automation.yaml new file mode 100644 index 00000000..e460abd8 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_automation.yaml @@ -0,0 +1,2 @@ +- ['base.automation', '_inherits', ''] +- ['base.automation', 'action_server_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_import.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_import.yaml new file mode 100644 index 00000000..2cc4f157 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_import.yaml @@ -0,0 +1,26 @@ +- ['base_import.tests.models.char', 'value', ''] +- ['base_import.tests.models.char.noreadonly', 'value', ''] +- ['base_import.tests.models.char.readonly', 'value', ''] +- ['base_import.tests.models.char.required', 'value', ''] +- ['base_import.tests.models.char.states', 'value', ''] +- ['base_import.tests.models.char.stillreadonly', 'value', ''] +- ['base_import.tests.models.complex', 'c', ''] +- ['base_import.tests.models.complex', 'currency_id', ''] +- ['base_import.tests.models.complex', 'd', ''] +- ['base_import.tests.models.complex', 'dt', ''] +- ['base_import.tests.models.complex', 'f', ''] +- ['base_import.tests.models.complex', 'm', ''] +- ['base_import.tests.models.float', 'currency_id', ''] +- ['base_import.tests.models.float', 'value', ''] +- ['base_import.tests.models.float', 'value2', ''] +- ['base_import.tests.models.m2o', 'value', ''] +- ['base_import.tests.models.m2o.related', 'value', ''] +- ['base_import.tests.models.m2o.required', 'value', ''] +- ['base_import.tests.models.m2o.required.related', 'value', ''] +- ['base_import.tests.models.o2m', 'name', ''] +- ['base_import.tests.models.o2m', 'value', ''] +- ['base_import.tests.models.o2m.child', 'parent_id', ''] +- ['base_import.tests.models.o2m.child', 'value', ''] +- ['base_import.tests.models.preview', 'name', ''] +- ['base_import.tests.models.preview', 'othervalue', ''] +- ['base_import.tests.models.preview', 'somevalue', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_vat.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_vat.yaml new file mode 100644 index 00000000..76232479 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/base_vat.yaml @@ -0,0 +1 @@ +- ['res.partner', 'vies_failed_message', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/calendar.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/calendar.yaml new file mode 100644 index 00000000..e8e2ae1b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/calendar.yaml @@ -0,0 +1 @@ +- ['calendar.event', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/crm.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/crm.yaml new file mode 100644 index 00000000..f3be15ef --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/crm.yaml @@ -0,0 +1,2 @@ +- ['crm.lead', 'date_action_last', ''] +- ['crm.lead', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/delivery.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/delivery.yaml new file mode 100644 index 00000000..c2233ddd --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/delivery.yaml @@ -0,0 +1 @@ +- ['stock.move.line', 'carrier_name', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event.yaml new file mode 100644 index 00000000..a3477be8 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event.yaml @@ -0,0 +1,5 @@ +- ['event.event', 'auto_confirm', ''] +- ['event.event', 'message_main_attachment_id', ''] +- ['event.registration', 'message_main_attachment_id', ''] +- ['event.registration', 'mobile', ''] +- ['event.type', 'auto_confirm', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_booth.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_booth.yaml new file mode 100644 index 00000000..11d54ba0 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_booth.yaml @@ -0,0 +1,2 @@ +- ['event.booth', 'contact_mobile', ''] +- ['event.booth', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_booth_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_booth_sale.yaml new file mode 100644 index 00000000..ff7b9264 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_booth_sale.yaml @@ -0,0 +1 @@ +- ['event.booth.registration', 'contact_mobile', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_sale.yaml new file mode 100644 index 00000000..8ca0d682 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/event_sale.yaml @@ -0,0 +1 @@ +- ['event.registration', 'is_paid', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/fleet.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/fleet.yaml new file mode 100644 index 00000000..8517ba80 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/fleet.yaml @@ -0,0 +1,3 @@ +- ['fleet.vehicle', 'message_main_attachment_id', ''] +- ['fleet.vehicle.log.contract', 'message_main_attachment_id', ''] +- ['fleet.vehicle.log.services', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/gamification.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/gamification.yaml new file mode 100644 index 00000000..36c73f29 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/gamification.yaml @@ -0,0 +1,2 @@ +- ['gamification.badge', 'message_main_attachment_id', ''] +- ['gamification.challenge', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr.yaml index a98917a7..e006f9d3 100644 --- a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr.yaml +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr.yaml @@ -1 +1,16 @@ -- ["hr.expense", "reference", "Commit https://github.com/odoo/odoo/commit/68fbdc964038ef6a1cf0d3df773db101ca81794a"] +- ['hr.department', 'message_main_attachment_id', ''] +- ['hr.employee', 'address_home_id', ''] +- ['hr.expense', 'reference', 'Commit https://github.com/odoo/odoo/commit/68fbdc964038ef6a1cf0d3df773db101ca81794a'] +- ['hr.job', 'message_main_attachment_id', ''] +- ['hr.plan', 'active', ''] +- ['hr.plan', 'company_id', ''] +- ['hr.plan', 'department_id', ''] +- ['hr.plan', 'name', ''] +- ['hr.plan', 'plan_activity_type_ids', ''] +- ['hr.plan.activity.type', 'activity_type_id', ''] +- ['hr.plan.activity.type', 'company_id', ''] +- ['hr.plan.activity.type', 'note', ''] +- ['hr.plan.activity.type', 'plan_id', ''] +- ['hr.plan.activity.type', 'responsible', ''] +- ['hr.plan.activity.type', 'responsible_id', ''] +- ['hr.plan.activity.type', 'summary', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_contract.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_contract.yaml new file mode 100644 index 00000000..0b2927db --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_contract.yaml @@ -0,0 +1 @@ +- ['hr.contract', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_expense.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_expense.yaml new file mode 100644 index 00000000..e2553215 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_expense.yaml @@ -0,0 +1,13 @@ +- ['hr.expense', 'amount_tax', ''] +- ['hr.expense', 'amount_tax_company', ''] +- ['hr.expense', 'is_refused', ''] +- ['hr.expense', 'reference', 'Commit https://github.com/odoo/odoo/commit/68fbdc964038ef6a1cf0d3df773db101ca81794a'] +- ['hr.expense', 'sample', ''] +- ['hr.expense', 'total_amount_company', ''] +- ['hr.expense', 'unit_amount', ''] +- ['hr.expense', 'untaxed_amount', ''] +- ['hr.expense.sheet', 'account_move_id', ''] +- ['hr.expense.sheet', 'address_id', ''] +- ['hr.expense.sheet', 'bank_journal_id', ''] +- ['hr.expense.sheet', 'total_amount_taxes', ''] +- ['res.company', 'company_expense_journal_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_holidays.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_holidays.yaml new file mode 100644 index 00000000..76f92758 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_holidays.yaml @@ -0,0 +1,7 @@ +- ['hr.leave', 'holiday_allocation_id', ''] +- ['hr.leave.accrual.level', 'is_based_on_worked_time', ''] +- ['hr.leave.accrual.level', 'parent_id', ''] +- ['hr.leave.allocation', 'message_main_attachment_id', ''] +- ['hr.leave.allocation', 'taken_leave_ids', ''] +- ['hr.leave.type', 'color_name', ''] +- ['hr.leave.type', 'responsible_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_recruitment.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_recruitment.yaml new file mode 100644 index 00000000..3ec337a1 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_recruitment.yaml @@ -0,0 +1 @@ +- ['hr.job', 'hr_responsible_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_recruitment_survey.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_recruitment_survey.yaml new file mode 100644 index 00000000..494e650a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_recruitment_survey.yaml @@ -0,0 +1 @@ +- ['hr.applicant', 'response_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_timesheet.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_timesheet.yaml new file mode 100644 index 00000000..3220d4fa --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/hr_timesheet.yaml @@ -0,0 +1 @@ +- ['account.analytic.line', 'ancestor_task_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/im_livechat.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/im_livechat.yaml new file mode 100644 index 00000000..55f07ab1 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/im_livechat.yaml @@ -0,0 +1 @@ +- ['chatbot.message', 'mail_channel_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ar.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ar.yaml new file mode 100644 index 00000000..2a537557 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ar.yaml @@ -0,0 +1 @@ +- ['account.fiscal.position.template', 'l10n_ar_afip_responsibility_type_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_br.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_br.yaml new file mode 100644 index 00000000..702a1c46 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_br.yaml @@ -0,0 +1,5 @@ +- ['account.fiscal.position.template', 'l10n_br_fp_type', ''] +- ['account.tax.template', 'amount_mva', ''] +- ['account.tax.template', 'base_reduction', ''] +- ['account.tax.template', 'tax_discount', ''] +- ['res.partner', 'l10n_br_cpf_code', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ch.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ch.yaml new file mode 100644 index 00000000..85e930e9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ch.yaml @@ -0,0 +1,6 @@ +- ['account.move', 'l10n_ch_isr_number', ''] +- ['account.move', 'l10n_ch_isr_sent', ''] +- ['res.company', 'l10n_ch_isr_print_bank_location', ''] +- ['res.partner.bank', 'l10n_ch_isr_subscription_chf', ''] +- ['res.partner.bank', 'l10n_ch_isr_subscription_eur', ''] +- ['res.partner.bank', 'l10n_ch_postal', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_cl.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_cl.yaml new file mode 100644 index 00000000..78653393 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_cl.yaml @@ -0,0 +1 @@ +- ['account.tax.template', 'l10n_cl_sii_code', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_de.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_de.yaml new file mode 100644 index 00000000..be296a7a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_de.yaml @@ -0,0 +1 @@ +- ['account.tax.template', 'l10n_de_datev_code', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ec.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ec.yaml new file mode 100644 index 00000000..f8f99191 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ec.yaml @@ -0,0 +1,4 @@ +- ['account.journal', 'l10n_ec_emission_type', ''] +- ['account.tax.template', 'l10n_ec_code_applied', ''] +- ['account.tax.template', 'l10n_ec_code_ats', ''] +- ['account.tax.template', 'l10n_ec_code_base', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ee.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ee.yaml new file mode 100644 index 00000000..8857b476 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ee.yaml @@ -0,0 +1 @@ +- ['account.tax.template', 'l10n_ee_kmd_inf_code', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_eg.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_eg.yaml new file mode 100644 index 00000000..dfc5a3ea --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_eg.yaml @@ -0,0 +1 @@ +- ['account.tax.template', 'l10n_eg_eta_code', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_es_edi_sii.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_es_edi_sii.yaml new file mode 100644 index 00000000..a07897b2 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_es_edi_sii.yaml @@ -0,0 +1,3 @@ +- ['account.tax.template', 'l10n_es_bien_inversion', ''] +- ['account.tax.template', 'l10n_es_exempt_reason', ''] +- ['account.tax.template', 'l10n_es_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in.yaml new file mode 100644 index 00000000..2be85e07 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in.yaml @@ -0,0 +1,2 @@ +- ['account.journal', 'l10n_in_gstin_partner_id', ''] +- ['account.tax.template', 'l10n_in_reverse_charge', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_purchase.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_purchase.yaml new file mode 100644 index 00000000..2b81e451 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_purchase.yaml @@ -0,0 +1 @@ +- ['purchase.order', 'l10n_in_journal_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_purchase_stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_purchase_stock.yaml new file mode 100644 index 00000000..0963319a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_purchase_stock.yaml @@ -0,0 +1 @@ +- ['stock.warehouse', 'l10n_in_purchase_journal_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_sale.yaml new file mode 100644 index 00000000..07d94600 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_sale.yaml @@ -0,0 +1 @@ +- ['sale.order', 'l10n_in_journal_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_sale_stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_sale_stock.yaml new file mode 100644 index 00000000..ab8ebbf9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_in_sale_stock.yaml @@ -0,0 +1 @@ +- ['stock.warehouse', 'l10n_in_sale_journal_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_it_edi.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_it_edi.yaml new file mode 100644 index 00000000..519d2c03 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_it_edi.yaml @@ -0,0 +1,3 @@ +- ['account.tax', 'l10n_it_has_exoneration', ''] +- ['account.tax', 'l10n_it_kind_exoneration', ''] +- ['account.tax', 'l10n_it_vat_due_date', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_it_edi_withholding.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_it_edi_withholding.yaml new file mode 100644 index 00000000..88307321 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_it_edi_withholding.yaml @@ -0,0 +1,3 @@ +- ['account.tax.template', 'l10n_it_pension_fund_type', ''] +- ['account.tax.template', 'l10n_it_withholding_reason', ''] +- ['account.tax.template', 'l10n_it_withholding_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ke_edi_tremol.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ke_edi_tremol.yaml new file mode 100644 index 00000000..a4f01b60 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ke_edi_tremol.yaml @@ -0,0 +1,2 @@ +- ['product.template', 'l10n_ke_hsn_code', ''] +- ['product.template', 'l10n_ke_hsn_name', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_mx.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_mx.yaml new file mode 100644 index 00000000..06aa6dc6 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_mx.yaml @@ -0,0 +1 @@ +- ['account.tax.template', 'l10n_mx_tax_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_nl.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_nl.yaml new file mode 100644 index 00000000..da21e825 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_nl.yaml @@ -0,0 +1,2 @@ +- ['res.partner', 'l10n_nl_kvk', ''] +- ['res.partner', 'l10n_nl_oin', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_pe.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_pe.yaml new file mode 100644 index 00000000..e8526dcb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_pe.yaml @@ -0,0 +1,3 @@ +- ['account.tax.template', 'l10n_pe_edi_isc_type', ''] +- ['account.tax.template', 'l10n_pe_edi_tax_code', ''] +- ['account.tax.template', 'l10n_pe_edi_unece_category', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ph.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ph.yaml new file mode 100644 index 00000000..ce1dff68 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_ph.yaml @@ -0,0 +1 @@ +- ['account.tax.template', 'l10n_ph_atc', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_sa.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_sa.yaml new file mode 100644 index 00000000..97acd4e7 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_sa.yaml @@ -0,0 +1 @@ +- ['account.move', 'l10n_sa_delivery_date', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_sa_edi.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_sa_edi.yaml new file mode 100644 index 00000000..e820bf26 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/l10n_sa_edi.yaml @@ -0,0 +1,2 @@ +- ['account.tax.template', 'l10n_sa_exemption_reason_code', ''] +- ['account.tax.template', 'l10n_sa_is_retention', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/loyalty.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/loyalty.yaml new file mode 100644 index 00000000..885acf8d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/loyalty.yaml @@ -0,0 +1 @@ +- ['loyalty.card', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/lunch.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/lunch.yaml new file mode 100644 index 00000000..9beae883 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/lunch.yaml @@ -0,0 +1 @@ +- ['lunch.supplier', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mail.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mail.yaml new file mode 100644 index 00000000..e515bf46 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mail.yaml @@ -0,0 +1,15 @@ +- ['mail.alias', 'alias_user_id', ''] +- ['mail.blacklist', 'message_main_attachment_id', ''] +- ['mail.channel', 'message_main_attachment_id', ''] +- ['mail.mail', 'to_delete', ''] +- ['mail.message', 'canned_response_ids', ''] +- ['mail.shortcode', 'message_ids', ''] +- ['mail.template', 'report_name', ''] +- ['mail.template', 'report_template', ''] +- ['mail.tracking.value', 'field', ''] +- ['mail.tracking.value', 'field_desc', ''] +- ['mail.tracking.value', 'field_type', ''] +- ['mail.tracking.value', 'new_value_monetary', ''] +- ['mail.tracking.value', 'old_value_monetary', ''] +- ['mail.tracking.value', 'tracking_sequence', ''] +- ['res.partner', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/maintenance.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/maintenance.yaml new file mode 100644 index 00000000..24e737e1 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/maintenance.yaml @@ -0,0 +1,6 @@ +- ['maintenance.equipment', 'maintenance_duration', ''] +- ['maintenance.equipment', 'message_main_attachment_id', ''] +- ['maintenance.equipment', 'next_action_date', ''] +- ['maintenance.equipment', 'period', ''] +- ['maintenance.equipment.category', 'message_main_attachment_id', ''] +- ['maintenance.request', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mass_mailing.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mass_mailing.yaml new file mode 100644 index 00000000..ebebc403 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mass_mailing.yaml @@ -0,0 +1,5 @@ +- ['mailing.contact', 'message_main_attachment_id', ''] +- ['mailing.contact', 'subscription_list_ids', ''] +- ['mailing.contact.subscription', 'unsubscription_date', ''] +- ['mailing.mailing', 'message_main_attachment_id', ''] +- ['utm.campaign', 'ab_testing_total_pc', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mass_mailing_sms.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mass_mailing_sms.yaml new file mode 100644 index 00000000..ce8a7fc8 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mass_mailing_sms.yaml @@ -0,0 +1,2 @@ +- ['mailing.trace', 'sms_sms_id', ''] +- ['mailing.trace', 'sms_sms_id_int', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mrp.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mrp.yaml new file mode 100644 index 00000000..739d634f --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mrp.yaml @@ -0,0 +1,9 @@ +- ['mrp.bom', 'message_main_attachment_id', ''] +- ['mrp.production', 'date_planned_finished', ''] +- ['mrp.production', 'date_planned_start', ''] +- ['mrp.production', 'message_main_attachment_id', ''] +- ['mrp.unbuild', 'message_main_attachment_id', ''] +- ['mrp.workorder', 'date_planned_finished', ''] +- ['mrp.workorder', 'date_planned_start', ''] +- ['product.template', 'days_to_prepare_mo', ''] +- ['product.template', 'produce_delay', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mrp_account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mrp_account.yaml new file mode 100644 index 00000000..b60dad00 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/mrp_account.yaml @@ -0,0 +1,6 @@ +- ['mrp.bom', 'analytic_account_id', ''] +- ['mrp.production', 'analytic_account_id', ''] +- ['mrp.workcenter', 'costs_hour_account_id', ''] +- ['mrp.workcenter.productivity', 'cost_already_recorded', ''] +- ['mrp.workorder', 'mo_analytic_account_line_id', ''] +- ['mrp.workorder', 'wc_analytic_account_line_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/note.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/note.yaml new file mode 100644 index 00000000..de96c2ec --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/note.yaml @@ -0,0 +1,21 @@ +- ['mail.activity', 'note_id', ''] +- ['note.note', 'activity_ids', ''] +- ['note.note', 'color', ''] +- ['note.note', 'company_id', ''] +- ['note.note', 'date_done', ''] +- ['note.note', 'memo', ''] +- ['note.note', 'message_follower_ids', ''] +- ['note.note', 'message_ids', ''] +- ['note.note', 'message_main_attachment_id', ''] +- ['note.note', 'name', ''] +- ['note.note', 'open', ''] +- ['note.note', 'sequence', ''] +- ['note.note', 'stage_ids', ''] +- ['note.note', 'tag_ids', ''] +- ['note.note', 'user_id', ''] +- ['note.stage', 'fold', ''] +- ['note.stage', 'name', ''] +- ['note.stage', 'sequence', ''] +- ['note.stage', 'user_id', ''] +- ['note.tag', 'color', ''] +- ['note.tag', 'name', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/onboarding.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/onboarding.yaml new file mode 100644 index 00000000..93c10cb1 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/onboarding.yaml @@ -0,0 +1,4 @@ +- ['onboarding.onboarding', 'panel_background_color', ''] +- ['onboarding.onboarding', 'panel_background_image', ''] +- ['onboarding.onboarding.step', 'onboarding_id', ''] +- ['onboarding.progress.step', 'progress_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment.yaml new file mode 100644 index 00000000..a4e285ad --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment.yaml @@ -0,0 +1,10 @@ +- ['payment.provider', 'display_as', ''] +- ['payment.provider', 'fees_active', ''] +- ['payment.provider', 'fees_dom_fixed', ''] +- ['payment.provider', 'fees_dom_var', ''] +- ['payment.provider', 'fees_int_fixed', ''] +- ['payment.provider', 'fees_int_var', ''] +- ['payment.provider', 'payment_icon_ids', ''] +- ['payment.token', 'verified', ''] +- ['payment.transaction', 'fees', ''] +- ['res.company', 'payment_provider_onboarding_state', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_adyen.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_adyen.yaml new file mode 100644 index 00000000..c8f3da82 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_adyen.yaml @@ -0,0 +1,2 @@ +- ['payment.provider', 'adyen_checkout_api_url', ''] +- ['payment.provider', 'adyen_recurring_api_url', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_asiapay.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_asiapay.yaml new file mode 100644 index 00000000..dca2050c --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_asiapay.yaml @@ -0,0 +1 @@ +- ['payment.provider', 'asiapay_currency_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_authorize.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_authorize.yaml new file mode 100644 index 00000000..aaa84fe5 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_authorize.yaml @@ -0,0 +1,3 @@ +- ['payment.provider', 'authorize_currency_id', ''] +- ['payment.provider', 'authorize_payment_method_type', ''] +- ['payment.token', 'authorize_payment_method_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_paypal.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_paypal.yaml new file mode 100644 index 00000000..6df51c2f --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_paypal.yaml @@ -0,0 +1,2 @@ +- ['payment.provider', 'paypal_seller_account', ''] +- ['payment.provider', 'paypal_use_ipn', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_stripe.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_stripe.yaml new file mode 100644 index 00000000..fe3708a1 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/payment_stripe.yaml @@ -0,0 +1 @@ +- ['payment.transaction', 'stripe_payment_intent', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/phone_validation.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/phone_validation.yaml new file mode 100644 index 00000000..1fda5d80 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/phone_validation.yaml @@ -0,0 +1 @@ +- ['phone.blacklist', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/point_of_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/point_of_sale.yaml new file mode 100644 index 00000000..afc14cc5 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/point_of_sale.yaml @@ -0,0 +1,9 @@ +- ['pos.config', 'limited_partners_amount', ''] +- ['pos.config', 'limited_partners_loading', ''] +- ['pos.config', 'limited_products_amount', ''] +- ['pos.config', 'limited_products_loading', ''] +- ['pos.config', 'partner_load_background', ''] +- ['pos.config', 'product_load_background', ''] +- ['pos.order', 'to_ship', ''] +- ['pos.session', 'message_main_attachment_id', ''] +- ['product.template', 'pos_categ_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/portal.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/portal.yaml new file mode 100644 index 00000000..5ea020c5 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/portal.yaml @@ -0,0 +1 @@ +- ['note.note', 'website_message_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_cache.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_cache.yaml new file mode 100644 index 00000000..18cc0cb9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_cache.yaml @@ -0,0 +1,6 @@ +- ['pos.cache', 'cache', ''] +- ['pos.cache', 'compute_user_id', ''] +- ['pos.cache', 'config_id', ''] +- ['pos.cache', 'product_domain', ''] +- ['pos.cache', 'product_fields', ''] +- ['pos.config', 'cache_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_hr.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_hr.yaml new file mode 100644 index 00000000..bcb968a0 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_hr.yaml @@ -0,0 +1 @@ +- ['pos.config', 'employee_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_restaurant.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_restaurant.yaml new file mode 100644 index 00000000..9f1a94da --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/pos_restaurant.yaml @@ -0,0 +1,4 @@ +- ['pos.config', 'is_table_management', ''] +- ['pos.order', 'multiprint_resume', ''] +- ['pos.order.line', 'mp_skip', ''] +- ['restaurant.floor', 'pos_config_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/product.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/product.yaml new file mode 100644 index 00000000..37a78f2e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/product.yaml @@ -0,0 +1,3 @@ +- ['product.pricelist.item', 'active', ''] +- ['product.product', 'message_main_attachment_id', ''] +- ['product.template', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/project.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/project.yaml new file mode 100644 index 00000000..dc9be2ef --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/project.yaml @@ -0,0 +1,55 @@ +- ['project.milestone', 'message_main_attachment_id', ''] +- ['project.project', 'alias_enabled', ''] +- ['project.project', 'allow_recurring_tasks', ''] +- ['project.project', 'allow_subtasks', ''] +- ['project.project', 'message_main_attachment_id', ''] +- ['project.project', 'partner_email', ''] +- ['project.project', 'partner_phone', ''] +- ['project.task', 'ancestor_id', ''] +- ['project.task', 'display_project_id', ''] +- ['project.task', 'email_from', ''] +- ['project.task', 'fri', ''] +- ['project.task', 'is_analytic_account_id_changed', ''] +- ['project.task', 'is_blocked', ''] +- ['project.task', 'is_closed', ''] +- ['project.task', 'kanban_state', ''] +- ['project.task', 'message_main_attachment_id', ''] +- ['project.task', 'mon', ''] +- ['project.task', 'partner_email', ''] +- ['project.task', 'partner_phone', ''] +- ['project.task', 'planned_hours', ''] +- ['project.task', 'recurrence_update', ''] +- ['project.task', 'repeat_day', ''] +- ['project.task', 'repeat_month', ''] +- ['project.task', 'repeat_number', ''] +- ['project.task', 'repeat_on_month', ''] +- ['project.task', 'repeat_on_year', ''] +- ['project.task', 'repeat_week', ''] +- ['project.task', 'repeat_weekday', ''] +- ['project.task', 'sat', ''] +- ['project.task', 'sun', ''] +- ['project.task', 'thu', ''] +- ['project.task', 'tue', ''] +- ['project.task', 'wed', ''] +- ['project.task.recurrence', 'fri', ''] +- ['project.task.recurrence', 'mon', ''] +- ['project.task.recurrence', 'next_recurrence_date', ''] +- ['project.task.recurrence', 'recurrence_left', ''] +- ['project.task.recurrence', 'repeat_day', ''] +- ['project.task.recurrence', 'repeat_month', ''] +- ['project.task.recurrence', 'repeat_number', ''] +- ['project.task.recurrence', 'repeat_on_month', ''] +- ['project.task.recurrence', 'repeat_on_year', ''] +- ['project.task.recurrence', 'repeat_week', ''] +- ['project.task.recurrence', 'repeat_weekday', ''] +- ['project.task.recurrence', 'sat', ''] +- ['project.task.recurrence', 'sun', ''] +- ['project.task.recurrence', 'thu', ''] +- ['project.task.recurrence', 'tue', ''] +- ['project.task.recurrence', 'wed', ''] +- ['project.task.type', 'auto_validation_kanban_state', ''] +- ['project.task.type', 'legend_blocked', ''] +- ['project.task.type', 'legend_done', ''] +- ['project.task.type', 'legend_normal', ''] +- ['project.update', 'message_main_attachment_id', ''] +- ['res.company', 'analytic_plan_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase.yaml new file mode 100644 index 00000000..d98bd040 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase.yaml @@ -0,0 +1 @@ +- ['purchase.order', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase_requisition.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase_requisition.yaml new file mode 100644 index 00000000..c1ce307a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase_requisition.yaml @@ -0,0 +1 @@ +- ['purchase.requisition', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase_stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase_stock.yaml new file mode 100644 index 00000000..cefca8bb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/purchase_stock.yaml @@ -0,0 +1 @@ +- ['stock.move', 'created_purchase_line_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/repair.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/repair.yaml new file mode 100644 index 00000000..c6d12c67 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/repair.yaml @@ -0,0 +1,49 @@ +- ['account.move', 'repair_ids', ''] +- ['account.move.line', 'repair_fee_ids', ''] +- ['account.move.line', 'repair_line_ids', ''] +- ['repair.fee', 'company_id', ''] +- ['repair.fee', 'invoice_line_id', ''] +- ['repair.fee', 'invoiced', ''] +- ['repair.fee', 'name', ''] +- ['repair.fee', 'price_subtotal', ''] +- ['repair.fee', 'price_total', ''] +- ['repair.fee', 'price_unit', ''] +- ['repair.fee', 'product_id', ''] +- ['repair.fee', 'product_uom', ''] +- ['repair.fee', 'product_uom_qty', ''] +- ['repair.fee', 'repair_id', ''] +- ['repair.fee', 'tax_id', ''] +- ['repair.line', 'company_id', ''] +- ['repair.line', 'invoice_line_id', ''] +- ['repair.line', 'invoiced', ''] +- ['repair.line', 'location_dest_id', ''] +- ['repair.line', 'location_id', ''] +- ['repair.line', 'lot_id', ''] +- ['repair.line', 'move_id', ''] +- ['repair.line', 'name', ''] +- ['repair.line', 'price_subtotal', ''] +- ['repair.line', 'price_total', ''] +- ['repair.line', 'price_unit', ''] +- ['repair.line', 'product_id', ''] +- ['repair.line', 'product_uom', ''] +- ['repair.line', 'product_uom_qty', ''] +- ['repair.line', 'repair_id', ''] +- ['repair.line', 'state', ''] +- ['repair.line', 'tax_id', ''] +- ['repair.line', 'type', ''] +- ['repair.order', 'address_id', ''] +- ['repair.order', 'amount_tax', ''] +- ['repair.order', 'amount_total', ''] +- ['repair.order', 'amount_untaxed', ''] +- ['repair.order', 'description', ''] +- ['repair.order', 'fees_lines', ''] +- ['repair.order', 'guarantee_limit', ''] +- ['repair.order', 'invoice_id', ''] +- ['repair.order', 'invoice_method', ''] +- ['repair.order', 'invoiced', ''] +- ['repair.order', 'message_main_attachment_id', ''] +- ['repair.order', 'operations', ''] +- ['repair.order', 'partner_invoice_id', ''] +- ['repair.order', 'pricelist_id', ''] +- ['repair.order', 'quotation_notes', ''] +- ['repair.order', 'repaired', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sale.yaml new file mode 100644 index 00000000..4b673d0f --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sale.yaml @@ -0,0 +1,6 @@ +- ['crm.team', 'use_quotations', ''] +- ['res.company', 'sale_onboarding_order_confirmation_state', ''] +- ['res.company', 'sale_onboarding_sample_quotation_state', ''] +- ['res.company', 'sale_quotation_onboarding_state', ''] +- ['sale.order', 'message_main_attachment_id', ''] +- ['sale.order.line', 'price_reduce', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sale_timesheet.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sale_timesheet.yaml new file mode 100644 index 00000000..4e86045d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sale_timesheet.yaml @@ -0,0 +1 @@ +- ['project.project', 'allocated_hours', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sales_team.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sales_team.yaml new file mode 100644 index 00000000..83a99d0c --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/sales_team.yaml @@ -0,0 +1,2 @@ +- ['crm.team', 'message_main_attachment_id', ''] +- ['crm.team.member', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/spreadsheet_dashboard.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/spreadsheet_dashboard.yaml new file mode 100644 index 00000000..bc98bb3c --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/spreadsheet_dashboard.yaml @@ -0,0 +1 @@ +- ['spreadsheet.dashboard', 'data', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock.yaml new file mode 100644 index 00000000..ecc73750 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock.yaml @@ -0,0 +1,13 @@ +- ['stock.lot', 'message_main_attachment_id', ''] +- ['stock.move', 'move_line_nosuggest_ids', ''] +- ['stock.move', 'quantity_done', ''] +- ['stock.move', 'scrap_ids', ''] +- ['stock.move.line', 'qty_done', ''] +- ['stock.move.line', 'reserved_qty', ''] +- ['stock.move.line', 'reserved_uom_qty', ''] +- ['stock.picking', 'immediate_transfer', ''] +- ['stock.picking', 'message_main_attachment_id', ''] +- ['stock.picking', 'move_line_nosuggest_ids', ''] +- ['stock.scrap', 'message_main_attachment_id', ''] +- ['stock.scrap', 'move_id', ''] +- ['stock.warehouse', 'return_type_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_account.yaml new file mode 100644 index 00000000..2e5328a5 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_account.yaml @@ -0,0 +1 @@ +- ['stock.move', 'analytic_account_line_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_landed_costs.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_landed_costs.yaml new file mode 100644 index 00000000..8993051c --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_landed_costs.yaml @@ -0,0 +1 @@ +- ['stock.landed.cost', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_picking_batch.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_picking_batch.yaml new file mode 100644 index 00000000..a5cc59be --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/stock_picking_batch.yaml @@ -0,0 +1 @@ +- ['stock.picking.batch', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/survey.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/survey.yaml new file mode 100644 index 00000000..4eeca518 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/survey.yaml @@ -0,0 +1,5 @@ +- ['survey.question', 'is_conditional', ''] +- ['survey.question', 'triggering_answer_id', ''] +- ['survey.question', 'triggering_question_id', ''] +- ['survey.survey', 'message_main_attachment_id', ''] +- ['survey.user_input', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_blog.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_blog.yaml new file mode 100644 index 00000000..772d16cd --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_blog.yaml @@ -0,0 +1,2 @@ +- ['blog.blog', 'message_main_attachment_id', ''] +- ['blog.post', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_event_exhibitor.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_event_exhibitor.yaml new file mode 100644 index 00000000..18023ed6 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_event_exhibitor.yaml @@ -0,0 +1 @@ +- ['event.sponsor', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_event_track.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_event_track.yaml new file mode 100644 index 00000000..27f4e39a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_event_track.yaml @@ -0,0 +1 @@ +- ['event.track', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_forum.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_forum.yaml new file mode 100644 index 00000000..552751f3 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_forum.yaml @@ -0,0 +1,6 @@ +- ['forum.forum', 'allow_bump', ''] +- ['forum.forum', 'message_main_attachment_id', ''] +- ['forum.post', 'bump_date', ''] +- ['forum.post', 'message_main_attachment_id', ''] +- ['forum.tag', 'message_main_attachment_id', ''] +- ['website', 'forums_count', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_livechat.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_livechat.yaml new file mode 100644 index 00000000..28baee79 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_livechat.yaml @@ -0,0 +1 @@ +- ['website.visitor', 'mail_channel_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_sale.yaml new file mode 100644 index 00000000..f263b4bb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_sale.yaml @@ -0,0 +1,3 @@ +- ['product.ribbon', 'product_tag_ids', ''] +- ['product.tag', 'ribbon_id', ''] +- ['res.company', 'website_sale_onboarding_payment_provider_state', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_sale_digital.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_sale_digital.yaml new file mode 100644 index 00000000..083ae91a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_sale_digital.yaml @@ -0,0 +1 @@ +- ['ir.attachment', 'product_downloadable', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_slides.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_slides.yaml new file mode 100644 index 00000000..3ee75d36 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_160_170/website_slides.yaml @@ -0,0 +1,4 @@ +- ['slide.channel', 'karma_gen_slide_vote', ''] +- ['slide.channel', 'message_main_attachment_id', ''] +- ['slide.channel.partner', 'completed', ''] +- ['slide.slide', 'message_main_attachment_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account.yaml new file mode 100644 index 00000000..2342e7b5 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account.yaml @@ -0,0 +1,22 @@ +- ['account.account', 'company_id', ''] +- ['account.group', 'parent_path', ''] +- ['account.journal', 'sale_activity_note', ''] +- ['account.journal', 'sale_activity_type_id', ''] +- ['account.journal', 'sale_activity_user_id', ''] +- ['account.journal', 'secure_sequence_id', ''] +- ['account.move', 'payment_id', ''] +- ['account.move', 'reversal_move_id', ''] +- ['account.move', 'send_and_print_values', ''] +- ['account.move', 'to_check', ''] +- ['account.move.line', 'analytic_distribution_search', ''] +- ['account.move.line', 'blocked', ''] +- ['account.payment', '_inherits', ''] +- ['account.payment', 'destination_journal_id', ''] +- ['account.payment', 'is_internal_transfer', ''] +- ['account.reconcile.model.line', 'analytic_distribution_search', ''] +- ['res.company', 'account_journal_payment_credit_account_id', ''] +- ['res.company', 'account_journal_payment_debit_account_id', ''] +- ['res.company', 'invoice_is_download', ''] +- ['res.company', 'invoice_is_email', ''] +- ['res.company', 'period_lock_date', ''] +- ['res.partner', 'last_time_entries_checked', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_check_printing.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_check_printing.yaml new file mode 100644 index 00000000..640c3611 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_check_printing.yaml @@ -0,0 +1,2 @@ +- ['account.move', 'preferred_payment_method_id', ''] +- ['res.partner', 'property_payment_method_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_edi_proxy_client.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_edi_proxy_client.yaml new file mode 100644 index 00000000..320e2046 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_edi_proxy_client.yaml @@ -0,0 +1 @@ +- ['account_edi_proxy_client.user', 'private_key', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_edi_ubl_cii.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_edi_ubl_cii.yaml new file mode 100644 index 00000000..a90e1ea8 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_edi_ubl_cii.yaml @@ -0,0 +1,2 @@ +- ['res.company', 'invoice_is_ubl_cii', ''] +- ['res.partner', 'ubl_cii_format', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_payment_term.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_payment_term.yaml new file mode 100644 index 00000000..6a242881 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_payment_term.yaml @@ -0,0 +1 @@ +- ['account.payment.term.line', 'delay_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_peppol.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_peppol.yaml new file mode 100644 index 00000000..0c886a0a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_peppol.yaml @@ -0,0 +1,3 @@ +- ['res.company', 'is_account_peppol_participant', ''] +- ['res.partner', 'account_peppol_is_endpoint_valid', ''] +- ['res.partner', 'account_peppol_validity_last_check', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_tax_python.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_tax_python.yaml new file mode 100644 index 00000000..1df79ba6 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/account_tax_python.yaml @@ -0,0 +1,2 @@ +- ['account.tax', 'python_applicable', ''] +- ['account.tax', 'python_compute', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/analytic.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/analytic.yaml new file mode 100644 index 00000000..a0cc6774 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/analytic.yaml @@ -0,0 +1 @@ +- ['account.analytic.distribution.model', 'analytic_distribution_search', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/auth_signup.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/auth_signup.yaml new file mode 100644 index 00000000..8b526f55 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/auth_signup.yaml @@ -0,0 +1 @@ +- ['res.partner', 'signup_expiration', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/base.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/base.yaml new file mode 100644 index 00000000..8e7af890 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/base.yaml @@ -0,0 +1,14 @@ +- ['ir.cron', 'doall', ''] +- ['ir.cron', 'numbercall', ''] +- ['ir.property', 'company_id', ''] +- ['ir.property', 'fields_id', ''] +- ['ir.property', 'name', ''] +- ['ir.property', 'res_id', ''] +- ['ir.property', 'type', ''] +- ['ir.property', 'value_binary', ''] +- ['ir.property', 'value_datetime', ''] +- ['ir.property', 'value_float', ''] +- ['ir.property', 'value_integer', ''] +- ['ir.property', 'value_reference', ''] +- ['ir.property', 'value_text', ''] +- ['res.partner', 'date', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/crm.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/crm.yaml new file mode 100644 index 00000000..68db0e2b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/crm.yaml @@ -0,0 +1 @@ +- ['res.partner', 'team_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/delivery.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/delivery.yaml new file mode 100644 index 00000000..688f8630 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/delivery.yaml @@ -0,0 +1 @@ +- ['sale.order', 'delivery_rating_success', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/event_booth_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/event_booth_sale.yaml new file mode 100644 index 00000000..677061fb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/event_booth_sale.yaml @@ -0,0 +1 @@ +- ['product.template', 'detailed_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/event_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/event_sale.yaml new file mode 100644 index 00000000..677061fb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/event_sale.yaml @@ -0,0 +1 @@ +- ['product.template', 'detailed_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/google_calendar.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/google_calendar.yaml new file mode 100644 index 00000000..54c27881 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/google_calendar.yaml @@ -0,0 +1,8 @@ +- ['google.calendar.credentials', 'calendar_cal_id', ''] +- ['google.calendar.credentials', 'calendar_rtoken', ''] +- ['google.calendar.credentials', 'calendar_sync_token', ''] +- ['google.calendar.credentials', 'calendar_token', ''] +- ['google.calendar.credentials', 'calendar_token_validity', ''] +- ['google.calendar.credentials', 'synchronization_stopped', ''] +- ['google.calendar.credentials', 'user_ids', ''] +- ['res.users', 'google_calendar_account_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_attendance.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_attendance.yaml new file mode 100644 index 00000000..e931bc6d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_attendance.yaml @@ -0,0 +1,2 @@ +- ['res.company', 'hr_attendance_overtime', ''] +- ['res.company', 'overtime_start_date', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_expense.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_expense.yaml new file mode 100644 index 00000000..da71f57d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_expense.yaml @@ -0,0 +1,2 @@ +- ['hr.expense', 'analytic_distribution_search', ''] +- ['res.company', 'expense_product_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_holidays.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_holidays.yaml new file mode 100644 index 00000000..2edb000a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_holidays.yaml @@ -0,0 +1,18 @@ +- ['hr.leave', 'active', ''] +- ['hr.leave', 'category_id', ''] +- ['hr.leave', 'employee_ids', ''] +- ['hr.leave', 'holiday_type', ''] +- ['hr.leave', 'linked_request_ids', ''] +- ['hr.leave', 'mode_company_id', ''] +- ['hr.leave', 'multi_employee', ''] +- ['hr.leave', 'parent_id', ''] +- ['hr.leave', 'report_note', ''] +- ['hr.leave.allocation', 'active', ''] +- ['hr.leave.allocation', 'category_id', ''] +- ['hr.leave.allocation', 'employee_ids', ''] +- ['hr.leave.allocation', 'holiday_type', ''] +- ['hr.leave.allocation', 'linked_request_ids', ''] +- ['hr.leave.allocation', 'mode_company_id', ''] +- ['hr.leave.allocation', 'multi_employee', ''] +- ['hr.leave.allocation', 'parent_id', ''] +- ['hr.leave.allocation', 'private_name', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_recruitment.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_recruitment.yaml new file mode 100644 index 00000000..045baaa3 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_recruitment.yaml @@ -0,0 +1,9 @@ +- ['hr.applicant', 'description', ''] +- ['hr.applicant', 'emp_id', ''] +- ['hr.applicant', 'message_bounce', ''] +- ['hr.applicant', 'name', ''] +- ['hr.applicant', 'partner_mobile', ''] +- ['hr.applicant', 'partner_mobile_sanitized', ''] +- ['hr.applicant', 'phone_mobile_search', ''] +- ['hr.applicant', 'phone_sanitized', ''] +- ['hr.employee', 'applicant_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_recruitment_skills.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_recruitment_skills.yaml new file mode 100644 index 00000000..b84e0f83 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/hr_recruitment_skills.yaml @@ -0,0 +1,2 @@ +- ['hr.applicant', 'applicant_skill_ids', ''] +- ['hr.applicant.skill', 'applicant_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/iap.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/iap.yaml new file mode 100644 index 00000000..2128f447 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/iap.yaml @@ -0,0 +1,2 @@ +- ['iap.account', 'account_info_ids', ''] +- ['iap.account', 'show_token', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/im_livechat.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/im_livechat.yaml new file mode 100644 index 00000000..25109d3c --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/im_livechat.yaml @@ -0,0 +1 @@ +- ['res.users.settings', 'is_discuss_sidebar_category_livechat_open', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/im_livechat_mail_bot.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/im_livechat_mail_bot.yaml new file mode 100644 index 00000000..40f66171 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/im_livechat_mail_bot.yaml @@ -0,0 +1 @@ +- ['res.users', 'odoobot_state', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_anz_ubl_pint.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_anz_ubl_pint.yaml new file mode 100644 index 00000000..ecad1236 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_anz_ubl_pint.yaml @@ -0,0 +1 @@ +- ['res.partner', 'ubl_cii_format', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_ar.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_ar.yaml new file mode 100644 index 00000000..ef8ee6a7 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_ar.yaml @@ -0,0 +1,2 @@ +- ['account.move', 'l10n_ar_currency_rate', ''] +- ['res.partner', 'l10n_ar_special_purchase_document_type_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_dk_bookkeeping.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_dk_bookkeeping.yaml new file mode 100644 index 00000000..774a2722 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_dk_bookkeeping.yaml @@ -0,0 +1 @@ +- ['account.move', 'l10n_dk_currency_rate_at_transaction', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_dk_oioubl.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_dk_oioubl.yaml new file mode 100644 index 00000000..ecad1236 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_dk_oioubl.yaml @@ -0,0 +1 @@ +- ['res.partner', 'ubl_cii_format', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_facturae.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_facturae.yaml new file mode 100644 index 00000000..bcae6e68 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_facturae.yaml @@ -0,0 +1,7 @@ +- ['l10n_es_edi_facturae.certificate', 'company_id', ''] +- ['l10n_es_edi_facturae.certificate', 'content', ''] +- ['l10n_es_edi_facturae.certificate', 'date_end', ''] +- ['l10n_es_edi_facturae.certificate', 'date_start', ''] +- ['l10n_es_edi_facturae.certificate', 'password', ''] +- ['l10n_es_edi_facturae.certificate', 'serial_number', ''] +- ['res.company', 'l10n_es_edi_facturae_certificate_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_sii.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_sii.yaml new file mode 100644 index 00000000..b8dc2857 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_sii.yaml @@ -0,0 +1,9 @@ +- ['l10n_es_edi.certificate', 'company_id', ''] +- ['l10n_es_edi.certificate', 'content', ''] +- ['l10n_es_edi.certificate', 'date_end', ''] +- ['l10n_es_edi.certificate', 'date_start', ''] +- ['l10n_es_edi.certificate', 'password', ''] +- ['res.company', 'l10n_es_edi_certificate_id', ''] +- ['res.company', 'l10n_es_edi_certificate_ids', ''] +- ['res.company', 'l10n_es_edi_tax_agency', ''] +- ['res.company', 'l10n_es_edi_test_env', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_tbai.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_tbai.yaml new file mode 100644 index 00000000..95f34287 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_tbai.yaml @@ -0,0 +1,2 @@ +- ['account.move', 'l10n_es_tbai_cancel_xml', ''] +- ['account.move', 'l10n_es_tbai_post_xml', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_verifactu.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_verifactu.yaml new file mode 100644 index 00000000..4396e661 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_edi_verifactu.yaml @@ -0,0 +1,5 @@ +- ['l10n_es_edi_verifactu.certificate', 'company_id', ''] +- ['l10n_es_edi_verifactu.certificate', 'content', ''] +- ['l10n_es_edi_verifactu.certificate', 'date_end', ''] +- ['l10n_es_edi_verifactu.certificate', 'date_start', ''] +- ['l10n_es_edi_verifactu.certificate', 'password', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_pos.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_pos.yaml new file mode 100644 index 00000000..cabf3bcb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_es_pos.yaml @@ -0,0 +1 @@ +- ['pos.config', 'l10n_es_simplified_invoice_limit', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_id_efaktur.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_id_efaktur.yaml new file mode 100644 index 00000000..08e50aa7 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_id_efaktur.yaml @@ -0,0 +1,3 @@ +- ['account.move', 'l10n_id_attachment_id', ''] +- ['res.partner', 'l10n_id_tax_address', ''] +- ['res.partner', 'l10n_id_tax_name', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_in.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_in.yaml new file mode 100644 index 00000000..d9faffce --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_in.yaml @@ -0,0 +1 @@ +- ['product.template', 'l10n_in_hsn_description', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_in_pos.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_in_pos.yaml new file mode 100644 index 00000000..19331f11 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_in_pos.yaml @@ -0,0 +1 @@ +- ['account.move', 'l10n_in_pos_session_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_jo_edi_extended.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_jo_edi_extended.yaml new file mode 100644 index 00000000..911e5151 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_jo_edi_extended.yaml @@ -0,0 +1 @@ +- ['account.move', 'l10n_jo_edi_payment_method', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_jp_ubl_pint.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_jp_ubl_pint.yaml new file mode 100644 index 00000000..ecad1236 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_jp_ubl_pint.yaml @@ -0,0 +1 @@ +- ['res.partner', 'ubl_cii_format', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_latam_check.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_latam_check.yaml new file mode 100644 index 00000000..04d6c021 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_latam_check.yaml @@ -0,0 +1,7 @@ +- ['account.journal', 'l10n_latam_manual_checks', ''] +- ['account.payment', 'l10n_latam_check_bank_id', ''] +- ['account.payment', 'l10n_latam_check_current_journal_id', ''] +- ['account.payment', 'l10n_latam_check_id', ''] +- ['account.payment', 'l10n_latam_check_issuer_vat', ''] +- ['account.payment', 'l10n_latam_check_operation_ids', ''] +- ['account.payment', 'l10n_latam_check_payment_date', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_mx_hr.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_mx_hr.yaml new file mode 100644 index 00000000..1844e658 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_mx_hr.yaml @@ -0,0 +1 @@ +- ['hr.employee', 'l10n_mx_nss', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_my_ubl_pint.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_my_ubl_pint.yaml new file mode 100644 index 00000000..ecad1236 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_my_ubl_pint.yaml @@ -0,0 +1 @@ +- ['res.partner', 'ubl_cii_format', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_pe.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_pe.yaml new file mode 100644 index 00000000..159d6074 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_pe.yaml @@ -0,0 +1 @@ +- ['account.move.line', 'l10n_pe_group_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_ro_edi.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_ro_edi.yaml new file mode 100644 index 00000000..ecad1236 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_ro_edi.yaml @@ -0,0 +1 @@ +- ['res.partner', 'ubl_cii_format', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_sa_edi.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_sa_edi.yaml new file mode 100644 index 00000000..d024039a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_sa_edi.yaml @@ -0,0 +1 @@ +- ['res.company', 'l10n_sa_private_key', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_sg_ubl_pint.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_sg_ubl_pint.yaml new file mode 100644 index 00000000..ecad1236 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_sg_ubl_pint.yaml @@ -0,0 +1 @@ +- ['res.partner', 'ubl_cii_format', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_tr_nilvera.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_tr_nilvera.yaml new file mode 100644 index 00000000..ecad1236 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/l10n_tr_nilvera.yaml @@ -0,0 +1 @@ +- ['res.partner', 'ubl_cii_format', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mail.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mail.yaml new file mode 100644 index 00000000..68641d8f --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mail.yaml @@ -0,0 +1,2 @@ +- ['discuss.channel.member', 'is_minimized', ''] +- ['mail.notification.web.push', 'user_device', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/microsoft_calendar.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/microsoft_calendar.yaml new file mode 100644 index 00000000..44bc897e --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/microsoft_calendar.yaml @@ -0,0 +1,5 @@ +- ['microsoft.calendar.credentials', 'calendar_sync_token', ''] +- ['microsoft.calendar.credentials', 'last_sync_date', ''] +- ['microsoft.calendar.credentials', 'synchronization_stopped', ''] +- ['microsoft.calendar.credentials', 'user_ids', ''] +- ['res.users', 'microsoft_calendar_account_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mrp.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mrp.yaml new file mode 100644 index 00000000..b367205b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mrp.yaml @@ -0,0 +1,5 @@ +- ['mrp.document', '_inherits', ''] +- ['mrp.document', 'active', ''] +- ['mrp.document', 'ir_attachment_id', ''] +- ['mrp.document', 'priority', ''] +- ['stock.picking.type', 'use_auto_consume_components_lots', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mrp_account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mrp_account.yaml new file mode 100644 index 00000000..91a9f73d --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/mrp_account.yaml @@ -0,0 +1,8 @@ +- ['mrp.bom', 'analytic_distribution_search', ''] +- ['mrp.bom', 'analytic_distribution_text', ''] +- ['mrp.bom', 'analytic_precision', ''] +- ['mrp.production', 'analytic_account_ids', ''] +- ['mrp.production', 'analytic_distribution', ''] +- ['mrp.production', 'analytic_distribution_search', ''] +- ['mrp.production', 'analytic_precision', ''] +- ['mrp.workcenter', 'analytic_distribution_search', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment.yaml new file mode 100644 index 00000000..4c707715 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment.yaml @@ -0,0 +1,5 @@ +- ['payment.transaction', 'callback_hash', ''] +- ['payment.transaction', 'callback_is_done', ''] +- ['payment.transaction', 'callback_method', ''] +- ['payment.transaction', 'callback_model_id', ''] +- ['payment.transaction', 'callback_res_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment_paypal.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment_paypal.yaml new file mode 100644 index 00000000..6971dde8 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment_paypal.yaml @@ -0,0 +1 @@ +- ['payment.provider', 'paypal_pdt_token', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment_sips.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment_sips.yaml new file mode 100644 index 00000000..e29a73b4 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/payment_sips.yaml @@ -0,0 +1,6 @@ +- ['payment.provider', 'sips_key_version', ''] +- ['payment.provider', 'sips_merchant_id', ''] +- ['payment.provider', 'sips_prod_url', ''] +- ['payment.provider', 'sips_secret', ''] +- ['payment.provider', 'sips_test_url', ''] +- ['payment.provider', 'sips_version', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/point_of_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/point_of_sale.yaml new file mode 100644 index 00000000..00cc4e5a --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/point_of_sale.yaml @@ -0,0 +1,12 @@ +- ['pos.category', 'child_id', ''] +- ['pos.combo', 'combo_line_ids', ''] +- ['pos.combo.line', 'combo_price', ''] +- ['pos.config', 'iface_customer_facing_display_background_image_1920', ''] +- ['pos.config', 'iface_customer_facing_display_local', ''] +- ['pos.config', 'iface_customer_facing_display_via_proxy', ''] +- ['pos.config', 'iface_start_categ_id', ''] +- ['pos.config', 'module_pos_mercury', ''] +- ['pos.config', 'start_category', ''] +- ['pos.order', 'note', ''] +- ['product.template', 'detailed_type', ''] +- ['product.template', 'type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_adyen.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_adyen.yaml new file mode 100644 index 00000000..a581ab38 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_adyen.yaml @@ -0,0 +1 @@ +- ['pos.payment.method', 'adyen_latest_diagnosis', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_loyalty.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_loyalty.yaml new file mode 100644 index 00000000..e70859c3 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_loyalty.yaml @@ -0,0 +1 @@ +- ['pos.config', 'gift_card_settings', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_paytm.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_paytm.yaml new file mode 100644 index 00000000..1eb91058 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_paytm.yaml @@ -0,0 +1,6 @@ +- ['pos.payment', 'paytm_authcode', ''] +- ['pos.payment', 'paytm_card_scheme', ''] +- ['pos.payment', 'paytm_issuer_bank', ''] +- ['pos.payment', 'paytm_issuer_card_no', ''] +- ['pos.payment', 'paytm_payment_method', ''] +- ['pos.payment', 'paytm_reference_no', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_razorpay.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_razorpay.yaml new file mode 100644 index 00000000..a8040b92 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_razorpay.yaml @@ -0,0 +1,7 @@ +- ['pos.payment', 'razorpay_authcode', ''] +- ['pos.payment', 'razorpay_card_owner_name', ''] +- ['pos.payment', 'razorpay_card_scheme', ''] +- ['pos.payment', 'razorpay_issuer_bank', ''] +- ['pos.payment', 'razorpay_issuer_card_no', ''] +- ['pos.payment', 'razorpay_payment_method', ''] +- ['pos.payment', 'razorpay_reference_no', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_restaurant.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_restaurant.yaml new file mode 100644 index 00000000..fe848fc2 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_restaurant.yaml @@ -0,0 +1,3 @@ +- ['pos.config', 'iface_orderline_notes', ''] +- ['pos.config', 'module_pos_restaurant', ''] +- ['restaurant.table', 'name', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_self_order.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_self_order.yaml new file mode 100644 index 00000000..58a25e49 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/pos_self_order.yaml @@ -0,0 +1,3 @@ +- ['pos.config', 'self_ordering_alternative_fp_id', ''] +- ['pos.order', 'take_away', ''] +- ['product.template', 'description_self_order', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/product.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/product.yaml new file mode 100644 index 00000000..e3ab9436 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/product.yaml @@ -0,0 +1,3 @@ +- ['product.pricelist', 'discount_policy', ''] +- ['product.template', 'detailed_type', ''] +- ['product.template', 'priority', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/project.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/project.yaml new file mode 100644 index 00000000..b8abdb51 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/project.yaml @@ -0,0 +1,3 @@ +- ['project.project', 'analytic_account_id', ''] +- ['project.task', 'analytic_account_id', ''] +- ['project.task.type', 'description', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/project_todo.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/project_todo.yaml new file mode 100644 index 00000000..b77ad4b1 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/project_todo.yaml @@ -0,0 +1 @@ +- ['mail.activity.type', 'category', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/purchase.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/purchase.yaml new file mode 100644 index 00000000..e36e7adf --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/purchase.yaml @@ -0,0 +1 @@ +- ['purchase.order.line', 'analytic_distribution_search', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/purchase_requisition.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/purchase_requisition.yaml new file mode 100644 index 00000000..6e614d49 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/purchase_requisition.yaml @@ -0,0 +1,12 @@ +- ['purchase.requisition', 'ordering_date', ''] +- ['purchase.requisition', 'origin', ''] +- ['purchase.requisition', 'schedule_date', ''] +- ['purchase.requisition', 'type_id', ''] +- ['purchase.requisition.line', 'analytic_distribution_search', ''] +- ['purchase.requisition.line', 'schedule_date', ''] +- ['purchase.requisition.type', 'active', ''] +- ['purchase.requisition.type', 'exclusive', ''] +- ['purchase.requisition.type', 'line_copy', ''] +- ['purchase.requisition.type', 'name', ''] +- ['purchase.requisition.type', 'quantity_copy', ''] +- ['purchase.requisition.type', 'sequence', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sale.yaml new file mode 100644 index 00000000..f16d28b3 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sale.yaml @@ -0,0 +1,4 @@ +- ['product.document', 'attached_on', ''] +- ['res.company', 'sale_down_payment_product_id', ''] +- ['sale.order', 'analytic_account_id', ''] +- ['sale.order.line', 'analytic_distribution_search', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sale_pdf_quote_builder.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sale_pdf_quote_builder.yaml new file mode 100644 index 00000000..7cce94fb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sale_pdf_quote_builder.yaml @@ -0,0 +1,9 @@ +- ['product.document', 'attached_on', ''] +- ['res.company', 'sale_footer', ''] +- ['res.company', 'sale_footer_name', ''] +- ['res.company', 'sale_header', ''] +- ['res.company', 'sale_header_name', ''] +- ['sale.order.template', 'sale_footer', ''] +- ['sale.order.template', 'sale_footer_name', ''] +- ['sale.order.template', 'sale_header', ''] +- ['sale.order.template', 'sale_header_name', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sales_team.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sales_team.yaml new file mode 100644 index 00000000..68db0e2b --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/sales_team.yaml @@ -0,0 +1 @@ +- ['res.partner', 'team_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/snailmail_account.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/snailmail_account.yaml new file mode 100644 index 00000000..2bda454c --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/snailmail_account.yaml @@ -0,0 +1 @@ +- ['res.company', 'invoice_is_snailmail', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/stock.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/stock.yaml new file mode 100644 index 00000000..c3cc4326 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/stock.yaml @@ -0,0 +1,5 @@ +- ['product.template', 'detailed_type', ''] +- ['product.template', 'type', ''] +- ['stock.location', 'return_location', ''] +- ['stock.picking.type', 'default_location_return_id', ''] +- ['stock.picking.type', 'show_reserved', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/stock_landed_costs_company.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/stock_landed_costs_company.yaml new file mode 100644 index 00000000..b808e9cd --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/stock_landed_costs_company.yaml @@ -0,0 +1 @@ +- ['stock.landed.cost', 'company_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/web_tour.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/web_tour.yaml new file mode 100644 index 00000000..254e6dbb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/web_tour.yaml @@ -0,0 +1 @@ +- ['web_tour.tour', 'user_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website.yaml new file mode 100644 index 00000000..aabcd9de --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website.yaml @@ -0,0 +1,2 @@ +- ['website.controller.page', 'page_name', ''] +- ['website.controller.page', 'page_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_event.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_event.yaml new file mode 100644 index 00000000..e4fc1db9 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_event.yaml @@ -0,0 +1,2 @@ +- ['event.event', 'menu_register_cta', ''] +- ['event.type', 'menu_register_cta', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_forum.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_forum.yaml new file mode 100644 index 00000000..6cae4d5c --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_forum.yaml @@ -0,0 +1 @@ +- ['forum.forum', 'menu_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale.yaml new file mode 100644 index 00000000..cb5cb028 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale.yaml @@ -0,0 +1,5 @@ +- ['product.product', 'ribbon_id', ''] +- ['product.ribbon', 'html', ''] +- ['product.ribbon', 'html_class', ''] +- ['sale.order', 'access_point_address', ''] +- ['sale.order.line', 'option_line_ids', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_picking.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_picking.yaml new file mode 100644 index 00000000..1217f3df --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_picking.yaml @@ -0,0 +1 @@ +- ['delivery.carrier', 'warehouse_id', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_product_configurator.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_product_configurator.yaml new file mode 100644 index 00000000..24636189 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_product_configurator.yaml @@ -0,0 +1 @@ +- ['website', 'add_to_cart_action', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_slides.yaml b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_slides.yaml new file mode 100644 index 00000000..677061fb --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_fields/migrate_170_180/website_sale_slides.yaml @@ -0,0 +1 @@ +- ['product.template', 'detailed_type', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_models/migrate_130_140/removed_models.yaml b/odoo_module_migrate/migration_scripts/removed_models/migrate_130_140/removed_models.yaml new file mode 100644 index 00000000..1660a455 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_models/migrate_130_140/removed_models.yaml @@ -0,0 +1,29 @@ +- ['account.accrual.accounting.wizard', ''] +- ['account.fiscal.year', ''] +- ['account.reconciliation.widget', ''] +- ['crm.partner.binding', ''] +- ['event.confirm', ''] +- ['event.question.report', ''] +- ['fleet.vehicle.cost', ''] +- ['fleet.vehicle.log.fuel', ''] +- ['google.calendar', ''] +- ['hr.expense.sheet.register.payment.wizard', ''] +- ['lunch.order.temp', ''] +- ['mail.address.mixin', ''] +- ['mail.test', ''] +- ['mail.test.full', ''] +- ['mass.mail.test', ''] +- ['mass.mail.test.bl', ''] +- ['mrp.abstract.workorder', ''] +- ['mrp.abstract.workorder.line', ''] +- ['mrp.product.produce', ''] +- ['mrp.product.produce.line', ''] +- ['mrp.routing', ''] +- ['mrp.workorder.line', ''] +- ['product.price_list', ''] +- ['repair.cancel', ''] +- ['report.account.report_agedpartnerbalance', ''] +- ['stock.change.standard.price', ''] +- ['stock.overprocessed.transfer', ''] +- ['stock.picking.responsible', ''] +- ['test_performance.mail', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_models/migrate_140_150/removed_models.yaml b/odoo_module_migrate/migration_scripts/removed_models/migrate_140_150/removed_models.yaml index cd3af353..237cbb14 100644 --- a/odoo_module_migrate/migration_scripts/removed_models/migrate_140_150/removed_models.yaml +++ b/odoo_module_migrate/migration_scripts/removed_models/migrate_140_150/removed_models.yaml @@ -1,2 +1,12 @@ -- ["stock.inventory", "Commit https://github.com/odoo/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b"] -- ["stock.inventory.line", "Commit https://github.com/odoo/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b"] +- ['adyen.store', ''] +- ['adyen.terminal', ''] +- ['closing.balance.confirm.wizard', ''] +- ['export.computed.binary', ''] +- ['l10n_eu_service.service_tax_rate', ''] +- ['l10n_eu_service.wizard', ''] +- ['lunch.product.report', ''] +- ['phone.validation.mixin', ''] +- ['project.task.create.sale.order', ''] +- ['stock.inventory', 'Commit https://github.com/odoo/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b'] +- ['stock.inventory.line', 'Commit https://github.com/odoo/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b'] +- ['website.mass_mailing.popup', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_models/migrate_150_160/removed_models.yaml b/odoo_module_migrate/migration_scripts/removed_models/migrate_150_160/removed_models.yaml index 9161d712..8a4f4b4f 100644 --- a/odoo_module_migrate/migration_scripts/removed_models/migrate_150_160/removed_models.yaml +++ b/odoo_module_migrate/migration_scripts/removed_models/migrate_150_160/removed_models.yaml @@ -1 +1,37 @@ -- ["account.account.type", "Commit https://github.com/odoo/odoo/commit/26b2472f4977ccedbb0b5ed5f"] +- ['account.account.type', 'Commit https://github.com/odoo/odoo/commit/26b2472f4977ccedbb0b5ed5f'] +- ['account.analytic.default', ''] +- ['account.analytic.distribution', ''] +- ['account.analytic.tag', ''] +- ['account.bank.statement.cashbox', ''] +- ['account.bank.statement.closebalance', ''] +- ['account.cashbox.line', ''] +- ['account.common.journal.report', ''] +- ['account.common.report', ''] +- ['account.print.journal', ''] +- ['base.update.translations', ''] +- ['cash.box.out', ''] +- ['coupon.generate.wizard', ''] +- ['ir.translation', ''] +- ['l10n_in.account.invoice.report', ''] +- ['l10n_in.advances.payment.adjustment.report', ''] +- ['l10n_in.advances.payment.report', ''] +- ['l10n_in.exempted.report', ''] +- ['l10n_in.payment.report', ''] +- ['l10n_in.product.hsn.report', ''] +- ['mail.resend.cancel', ''] +- ['pad.common', ''] +- ['payment.acquirer.onboarding.wizard', ''] +- ['project.delete.wizard', ''] +- ['project.profitability.report', ''] +- ['project.task.create.timesheet', ''] +- ['report.account.report_journal', ''] +- ['report.all.channels.sales', ''] +- ['report.coupon.report_coupon', ''] +- ['report.sale.report_saleproforma', ''] +- ['resource.test', ''] +- ['sale.product.configurator', ''] +- ['slide.slide.link', ''] +- ['sms.cancel', ''] +- ['snailmail.letter.cancel', ''] +- ['tax.adjustments.wizard', ''] +- ['website.sale.payment.acquirer.onboarding.wizard', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_models/migrate_160_170/removed_models.yaml b/odoo_module_migrate/migration_scripts/removed_models/migrate_160_170/removed_models.yaml index dc12e595..9355d7be 100644 --- a/odoo_module_migrate/migration_scripts/removed_models/migrate_160_170/removed_models.yaml +++ b/odoo_module_migrate/migration_scripts/removed_models/migrate_160_170/removed_models.yaml @@ -1,3 +1,49 @@ -- ["account.account.template", "Commit https://github.com/odoo/odoo/commit/512574861691f425ec6a17f20fe4b586bb88a299"] -- ["account.tax.template", "Commit https://github.com/odoo/odoo/commit/512574861691f425ec6a17f20fe4b586bb88a299"] -- ["account.group.template", "Commit https://github.com/odoo/odoo/commit/512574861691f425ec6a17f20fe4b586bb88a299"] +- ['account.account.template', 'Commit https://github.com/odoo/odoo/commit/512574861691f425ec6a17f20fe4b586bb88a299'] +- ['account.fiscal.position.account.template', ''] +- ['account.fiscal.position.tax.template', ''] +- ['account.fiscal.position.template', ''] +- ['account.group.template', 'Commit https://github.com/odoo/odoo/commit/512574861691f425ec6a17f20fe4b586bb88a299'] +- ['account.invoice.send', ''] +- ['account.reconcile.model.line.template', ''] +- ['account.reconcile.model.template', ''] +- ['account.tax.repartition.line.template', ''] +- ['account.tax.template', 'Commit https://github.com/odoo/odoo/commit/512574861691f425ec6a17f20fe4b586bb88a299'] +- ['base_import.tests.models.char', ''] +- ['base_import.tests.models.char.noreadonly', ''] +- ['base_import.tests.models.char.readonly', ''] +- ['base_import.tests.models.char.required', ''] +- ['base_import.tests.models.char.states', ''] +- ['base_import.tests.models.char.stillreadonly', ''] +- ['base_import.tests.models.complex', ''] +- ['base_import.tests.models.float', ''] +- ['base_import.tests.models.m2o', ''] +- ['base_import.tests.models.m2o.related', ''] +- ['base_import.tests.models.m2o.required', ''] +- ['base_import.tests.models.m2o.required.related', ''] +- ['base_import.tests.models.o2m', ''] +- ['base_import.tests.models.o2m.child', ''] +- ['base_import.tests.models.preview', ''] +- ['hr.attendance.report', ''] +- ['hr.plan', ''] +- ['hr.plan.activity.type', ''] +- ['hr.plan.wizard', ''] +- ['ir.server.object.lines', ''] +- ['l10n_eg.eta.account.tax.mixin', ''] +- ['l10n_es.sii.account.tax.mixin', ''] +- ['mrp.immediate.production', ''] +- ['mrp.immediate.production.line', ''] +- ['note.note', ''] +- ['note.stage', ''] +- ['note.tag', ''] +- ['pos.cache', ''] +- ['pos.session.check_product_wizard', ''] +- ['repair.fee', ''] +- ['repair.order.make_invoice', ''] +- ['report.product.report_producttemplatelabel', ''] +- ['report.stock.report_product_product_replenishment', ''] +- ['report.stock.report_product_template_replenishment', ''] +- ['sms.api', ''] +- ['snailmail.confirm', ''] +- ['snailmail.confirm.invoice', ''] +- ['stock.immediate.transfer', ''] +- ['stock.immediate.transfer.line', ''] diff --git a/odoo_module_migrate/migration_scripts/removed_models/migrate_170_180/removed_models.yaml b/odoo_module_migrate/migration_scripts/removed_models/migrate_170_180/removed_models.yaml new file mode 100644 index 00000000..31dc3a61 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/removed_models/migrate_170_180/removed_models.yaml @@ -0,0 +1,13 @@ +- ['account.fr.fec', ''] +- ['account.tour.upload.bill', ''] +- ['account.tour.upload.bill.email.confirm', ''] +- ['account.unreconcile', ''] +- ['iap.account.info', ''] +- ['ir.property', ''] +- ['project.create.sale.order', ''] +- ['project.create.sale.order.line', ''] +- ['purchase.requisition.type', ''] +- ['repair.warn.uncomplete.move', ''] +- ['res.config.installer', ''] +- ['stock.assign.serial', ''] +- ['stock.scheduler.compute', ''] From 7422b8077a4cb8a6e67e1d1027c0f7a18882de60 Mon Sep 17 00:00:00 2001 From: Celina Devigili Date: Wed, 24 Sep 2025 13:17:15 -0300 Subject: [PATCH 20/24] [ADD] Add warning for deprecated _notify_progress in favor to _commit_progress --- .../text_warnings/migrate_180_190/cron_progress.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/cron_progress.yaml diff --git a/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/cron_progress.yaml b/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/cron_progress.yaml new file mode 100644 index 00000000..067650a3 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/cron_progress.yaml @@ -0,0 +1,2 @@ +.py: + _notify_progress\(: "[19] _notify_progress is deprecated. Use _commit_progress instead. IMPORTANT: _commit_progress automatically commits the transaction, so remove any subsequent self.env.cr.commit() calls. Review documentation and examples: https://github.com/odoo/odoo/pull/207082/commits" From aa854783fc8109190da9cd9825a27242a80c8e9a Mon Sep 17 00:00:00 2001 From: Nicolas Mac Rouillon Date: Wed, 8 Oct 2025 14:02:00 +0000 Subject: [PATCH 21/24] [IMP] *: add warning for auto-added invisible/readonly fields in XML views --- .../text_warnings/migrate_180_190/invisible_fields.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/invisible_fields.yaml diff --git a/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/invisible_fields.yaml b/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/invisible_fields.yaml new file mode 100644 index 00000000..22f65075 --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/invisible_fields.yaml @@ -0,0 +1,2 @@ +.xml: + invisible=(["']1["']|["']True["']|["']true["'])|column_invisible=(["']1["']|["']True["']|["']true["']): "[18] Fields that are required by Python expressions (invisible, column_invisible, readonly, required, context, domain) are now added automatically as invisible and readonly. You can remove these fields from XML views unless they are necessary for specific logic. More details: https://github.com/odoo/odoo/pull/137031." From 13f48f5a16227ba59ee9b63573995eb8215061ec Mon Sep 17 00:00:00 2001 From: Virginia Date: Mon, 20 Oct 2025 10:22:12 -0300 Subject: [PATCH 22/24] [ADD] Add environment read-only warning to migration script --- .../text_warnings/migrate_180_190/env_readonly.yaml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/env_readonly.yaml diff --git a/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/env_readonly.yaml b/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/env_readonly.yaml new file mode 100644 index 00000000..9f8cfcfe --- /dev/null +++ b/odoo_module_migrate/migration_scripts/text_warnings/migrate_180_190/env_readonly.yaml @@ -0,0 +1,3 @@ +.py: + env\.\w+\s*=(?!=): + "[19] Environment is read-only: avoid assigning attributes to 'env.'. More info: https://github.com/odoo/odoo/pull/188584" From 97d2d8d1a80622c470ae5a3ca341f28cc784323a Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Mon, 8 Dec 2025 15:17:54 +0100 Subject: [PATCH 23/24] [IMP] convert attrs attribute to attributes during v17 migration --- .../migration_scripts/migrate_160_170.py | 159 +++++++++++++++++- .../module_160_170/views/res_partner.xml | 3 + .../module_160/views/res_partner.xml | 7 + 3 files changed, 168 insertions(+), 1 deletion(-) diff --git a/odoo_module_migrate/migration_scripts/migrate_160_170.py b/odoo_module_migrate/migration_scripts/migrate_160_170.py index ac0a8688..96421dab 100644 --- a/odoo_module_migrate/migration_scripts/migrate_160_170.py +++ b/odoo_module_migrate/migration_scripts/migrate_160_170.py @@ -261,6 +261,148 @@ def _check_open_form_view(logger, file_path: Path): ) +def _move_attrs_to_attributes_view(logger, file_path: Path): + """Transform + for node in arch.xpath("//*[@attrs]"): + attributes = attrs_to_attributes(node.attrib["attrs"]) + if not attributes: + continue + node.attrib.update(attributes) + del node.attrib["attrs"] + modified = True + # inherited views + for node in arch.xpath("//attribute[@name='attrs']"): + attributes = attrs_to_attributes(node.text) + if not attributes: + continue + parent = node.getparent() + for key, value in attributes.items(): + new_node = et.SubElement(parent, "attribute", name=key) + new_node.text = value + parent.remove(node) + modified = True + + if modified: + tree.write(file_path, xml_declaration=True) + with open(file_path, "r+") as xml_file: + xml_file.write('') + xml_file.seek(0, 2) + xml_file.write("\n") + + def _check_open_form( logger, module_path, module_name, manifest_path, migration_steps, tools ): @@ -272,6 +414,17 @@ def _check_open_form( _check_open_form_view(logger, file_path) +def _move_attrs_to_attributes( + logger, module_path, module_name, manifest_path, migration_steps, tools +): + reformat_file_ext = ".xml" + file_paths = _get_files(module_path, reformat_file_ext) + logger.debug(f"{reformat_file_ext} files found:\n" f"{list(map(str, file_paths))}") + + for file_path in file_paths: + _move_attrs_to_attributes_view(logger, file_path) + + def _reformat_read_group( logger, module_path, module_name, manifest_path, migration_steps, tools ): @@ -291,4 +444,8 @@ def _reformat_read_group( class MigrationScript(BaseMigrationScript): - _GLOBAL_FUNCTIONS = [_check_open_form, _reformat_read_group] + _GLOBAL_FUNCTIONS = [ + _check_open_form, + _reformat_read_group, + _move_attrs_to_attributes, + ] diff --git a/tests/data_result/module_160_170/views/res_partner.xml b/tests/data_result/module_160_170/views/res_partner.xml index 3176300a..31bdf12f 100644 --- a/tests/data_result/module_160_170/views/res_partner.xml +++ b/tests/data_result/module_160_170/views/res_partner.xml @@ -14,7 +14,10 @@