From 1fa77bd2bfa10b8ee2e2a94c3006b5f15b5b9f42 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Mon, 30 Oct 2023 17:43:28 +0100 Subject: [PATCH] [OU-FIX] website: Missing doc + incorrect SQL And this makes also that the CI is not doing the checks. --- docsource/modules150-160.rst | 2 +- openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docsource/modules150-160.rst b/docsource/modules150-160.rst index d9b3b374f94d..9ba180be12a3 100644 --- a/docsource/modules150-160.rst +++ b/docsource/modules150-160.rst @@ -800,7 +800,7 @@ Module coverage 15.0 -> 16.0 +-------------------------------------------------+----------------------+-------------------------------------------------+ | web_unsplash | Nothing to do | | +-------------------------------------------------+----------------------+-------------------------------------------------+ -| website | | | +| website | Done | | +-------------------------------------------------+----------------------+-------------------------------------------------+ | website_blog | | | +-------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py b/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py index 70aa0f085d1f..5021a7cbe809 100644 --- a/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py +++ b/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py @@ -7,7 +7,7 @@ def boostrap_5_migration(env): """Convert customized website views to Bootstrap 5.""" backup_column = openupgrade.get_legacy_name("arch_db_bs4") openupgrade.logged_query( - env.cr, f"ALTER TABLE ir_ui_view ADD COLUMN {backup_column} TEST" + env.cr, f"ALTER TABLE ir_ui_view ADD COLUMN {backup_column} TEXT" ) # Find views to convert env.cr.execute(