diff --git a/openupgrade_scripts/apriori.py b/openupgrade_scripts/apriori.py index c0cd85ef779b..92d4727e4064 100644 --- a/openupgrade_scripts/apriori.py +++ b/openupgrade_scripts/apriori.py @@ -54,6 +54,7 @@ "to_stock_report_common": "viin_stock", "viin_account_auto_transfer_patch_1": "viin_account_auto_transfer", "viin_affiliate_website_patch": "viin_affiliate_website", + "viin_analytic_tag": "viin_account", "viin_helpdesk_team_ticket_type": "viin_helpdesk", "viin_helpdesk_ticket_properties": "viin_helpdesk", "viin_hr_overtime_timeoff": "viin_hr_overtime", diff --git a/openupgrade_scripts/scripts/account/17.0.1.2/pre-migration.py b/openupgrade_scripts/scripts/account/17.0.1.2/pre-migration.py index 3e6f2e13239c..1abf53194915 100644 --- a/openupgrade_scripts/scripts/account/17.0.1.2/pre-migration.py +++ b/openupgrade_scripts/scripts/account/17.0.1.2/pre-migration.py @@ -2,6 +2,8 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from openupgradelib import openupgrade +from odoo.tools.sql import convert_column_translatable + _fields_renames = [ ( "res.company", @@ -599,6 +601,7 @@ def migrate(env, version): """, ) openupgrade.rename_fields(env, _fields_renames) + convert_column_translatable(env.cr, "account_tax", "description", "jsonb") openupgrade.copy_columns(env.cr, _columns_copies) _am_create_delivery_date_column(env) _am_create_incoterm_location_column(env)