From 0206473734799adf718fe2e9b29aed543cb2bac5 Mon Sep 17 00:00:00 2001 From: clementthomas Date: Tue, 1 Oct 2024 13:17:04 +0200 Subject: [PATCH] [FIX]convert_field_to_html: change param of cr.execute() --- openupgradelib/openupgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openupgradelib/openupgrade.py b/openupgradelib/openupgrade.py index e29bc066..70184fc0 100644 --- a/openupgradelib/openupgrade.py +++ b/openupgradelib/openupgrade.py @@ -2484,7 +2484,7 @@ def convert_field_to_html( if verbose: logged_query(cr, query, (json.dumps(translations), record_id)) else: - cr.execute(query, translations, record_id) + cr.execute(query, (json.dumps(translations), record_id)) return if version_info[0] < 7: