[IMP]web_field_tooltip: refactoring for v17

This commit is contained in:
manu
2024-07-24 17:59:29 +02:00
parent e74989d55f
commit 4e592d7339
14 changed files with 89 additions and 248 deletions

View File

@@ -34,7 +34,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.Text(required=True, translate=True)
@api.model
def default_get(self, fields_list):