We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 73f7b8f + ad0c68a commit c8fbf2cCopy full SHA for c8fbf2c
1 file changed
openupgradelib/openupgrade.py
@@ -2498,7 +2498,7 @@ def convert_field_to_html(
2498
if version_info[0] < 16:
2499
do_raise("Translatable fields are only managed in version 16.0 or higher")
2500
cr.execute( # pylint: disable=E8103
2501
- "SELECT id, {field_name} FROM {table};".format(
+ "SELECT id, {field_name} FROM {table} WHERE {field_name} IS NOT NULL".format(
2502
field_name=field_name, table=table
2503
)
2504
0 commit comments