Skip to content

[17.0] payment: pre-migration fails if payment_icon table/columns don’t exist (UndefinedTable/UndefinedColumn) #5371

@SayaliTS

Description

@SayaliTS

Got error migrating from version 16 to 17
File "/home/Desktop/odoo17/odoo/addons/openupgrade_scripts/scripts/payment/17.0.2.0/pre-migration.py", line 193, in migrate
openupgrade.rename_tables(env.cr, _table_renames)
File "/home/Desktop/odoo17/venv/lib/python3.10/site-packages/openupgradelib/openupgrade.py", line 874, in rename_tables
cr.execute( # pylint: disable=E8103
File "/home/Desktop/odoo17/odoo/sql_db.py", line 335, in execute
res = self._obj.execute(query, params)
psycopg2.errors.UndefinedTable: relation "payment_icon" does not ex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions