Skip to content

Commit

Permalink
[IMP] web_field_tooltip: Enable translation
Browse files Browse the repository at this point in the history
Enable translation for tooltip text to support multi-language environments.
  • Loading branch information
kanda999 authored and AungKoKoLin1997 committed Oct 31, 2024
1 parent 7c2a4ea commit 564ba2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_field_tooltip/models/ir_model_fields_tooltip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 564ba2f

Please sign in to comment.