diff --git a/openupgrade_scripts/apriori.py b/openupgrade_scripts/apriori.py index 9bfa54e80f1c..a8633b400579 100644 --- a/openupgrade_scripts/apriori.py +++ b/openupgrade_scripts/apriori.py @@ -44,6 +44,7 @@ "website_sale_stock_product_configurator": "website_sale_product_configurator", # OCA/web "web_advanced_search": "web", + "web_chatter_position": "web", "web_listview_range_select": "web", # OCA/... # Viindoo/tvtmaaddons diff --git a/openupgrade_scripts/scripts/account/17.0.1.2/end-migration.py b/openupgrade_scripts/scripts/account/17.0.1.2/end-migration.py index 6bf5e52c90d0..2cfda0ac00f0 100644 --- a/openupgrade_scripts/scripts/account/17.0.1.2/end-migration.py +++ b/openupgrade_scripts/scripts/account/17.0.1.2/end-migration.py @@ -8,6 +8,11 @@ def _res_partner_bank_computation(env): partner_banks._compute_display_account_warning() +def _remove_tables_fks(env): + openupgrade.remove_tables_fks(env.cr, ("account_tax_template",)) + + @openupgrade.migrate() def migrate(env, version): _res_partner_bank_computation(env) + _remove_tables_fks(env)