Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
10663 Prikazi

Been looking at how to enable code view (which used to be symbolised by > in the old editor) however I can't find any way to use it with the new HTML field on version 15.


Did anyone find how to use it? A major feature of the editor is just to remove.

Avatar
Opusti
Best Answer

Hi,

Add the following with the html field in odoo 15:  options="{'codeview': true}"

Thanks

Avatar
Opusti
Avtor

This worked, thank you!

Best Answer

Hello Levi Bensley,

If you want to use HTML editor on any particular field, use an HTML widget.

Find  Example in Comment.


Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Opusti

Example:
In XML file,
<field name="html_field" widget="html"/>

Related Posts Odgovori Prikazi Aktivnost
1
jan. 25
3652
1
nov. 22
2044
1
okt. 22
2775
0
jan. 22
3129
0
jul. 16
6035