in my model, I have a field
content = fields.Html("Content")
I will use this field to show on the website using
<p t-raw="page_data.content"/>
I want to set some demo data to my model and i want to set preformatted text like:
<record id="demo_text1" model="my_module_name.my_model_name">
<field name="name">Name</field>
<field name="title">Title</field>
<field name="content">
<b>some bold text</b><br/>
<p>some ordinary text</p>
</field>
</record>
In this part I have error, how can I use html tags in
<field name="content">here</field>
System]]>` try like this – Adam Strauss Oct 20 '20 at 12:50