[IMP] web_field_tooltip: Enable translation

Enable translation for tooltip text to support multi-language environments.
pull/2977/head
kanda999 2024-10-30 06:03:02 +00:00 committed by Aungkokolin1997
parent 7c2a4eaef6
commit 564ba2f131
1 changed files with 1 additions and 1 deletions

View File

@ -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):