From 8c378b9f8a14c292650b69a8c47baddfd805d04d Mon Sep 17 00:00:00 2001 From: clementthomas <clement@cotyl.net> 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: