Display html in tree view odoo

Viewed 3030

Is it possible display html in tree view?

For example add strong to string < strong >MY STRING < / strong >

I'm try use widget="html" but strong tag is visible!

.py

 @api.depends('name')
 def _get_html(self):
     self.html_text = "<strong>" + str(self.name) + "</strong>"

     html_text = fields.Char(compute='_get_html')

.xml

<field name="html_text"/>   
1 Answers
Related