From d8b8b3f7a7ecd2d49605c6c8aa81a19c06682e7e Mon Sep 17 00:00:00 2001 From: Cyril VINH-TUNG Date: Wed, 13 Dec 2023 14:45:25 -1000 Subject: [PATCH] [OU-FIX] Base: Add `help` in ir.actions.client translation exclusions In commit d2659fba5d957b23d252290712f9dd4da3f487f4, cyrilmanuel fixed the same issue for ir.actions.act_window translation The pre-migration script excludes some fields from models, inherited by ir.actions fields. The goal is to allow the conversion of all text fields in json or jsonb (mecanic in odoo 16), but if the field is inherited by another fields in another model (in my example, name and help in the model ir_actions_client are inherited by ir.actions fields), you cannot execute the sql request. It will failed because you cannot convert fields inherited. --- openupgrade_scripts/scripts/base/16.0.1.3/pre-migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openupgrade_scripts/scripts/base/16.0.1.3/pre-migration.py b/openupgrade_scripts/scripts/base/16.0.1.3/pre-migration.py index 5014e9a4165b..d80b2bf1c40c 100644 --- a/openupgrade_scripts/scripts/base/16.0.1.3/pre-migration.py +++ b/openupgrade_scripts/scripts/base/16.0.1.3/pre-migration.py @@ -56,7 +56,7 @@ def update_translatable_fields(cr): "ir.actions.act_window": ["name", "help"], "ir.actions.act_url": ["name"], "ir.actions.server": ["name"], - "ir.actions.client": ["name"], + "ir.actions.client": ["name", "help"], "ir.actions.report": ["name"], } cr.execute(