From 564ba2f131eb484f6fa7bed62740deb6f3404f43 Mon Sep 17 00:00:00 2001 From: kanda999 Date: Wed, 30 Oct 2024 06:03:02 +0000 Subject: [PATCH] [IMP] web_field_tooltip: Enable translation Enable translation for tooltip text to support multi-language environments. --- web_field_tooltip/models/ir_model_fields_tooltip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_field_tooltip/models/ir_model_fields_tooltip.py b/web_field_tooltip/models/ir_model_fields_tooltip.py index cda060e31437..5f9db94e4d4a 100644 --- a/web_field_tooltip/models/ir_model_fields_tooltip.py +++ b/web_field_tooltip/models/ir_model_fields_tooltip.py @@ -35,7 +35,7 @@ class IrModelFieldsTooltip(models.Model): help="Set active to false to hide the Tooltip without removing it.", ) field_name = fields.Char(related="field_id.name") - tooltip_text = fields.Html(required=True) + tooltip_text = fields.Html(required=True, translate=True) @api.model def default_get(self, fields_list):