Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
10675 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

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

Thanks

Imagine profil
Abandonează
Autor

This worked, thank you!

Cel mai bun răspuns

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

Imagine profil
Abandonează

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

Related Posts Răspunsuri Vizualizări Activitate
1
ian. 25
3655
1
nov. 22
2057
1
oct. 22
2777
0
ian. 22
3138
0
iul. 16
6040