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

We are looking how we can format product descriptions and similar fields with html-tags line line breaks paragraphs unordered lists. Is there an option to add a HTML editor for such fields in Odoo 8?

Imagine profil
Abandonează
Autor

Thanks Axel,


is there an option to do this without changing core code?

Ralf

Cel mai bun răspuns

Yes there is, just set the widget="html" in the field definition on the view like:

<field name="description" widget="html"/>

or

Define the field in the model like:

description = fields.Html('Description')


Imagine profil
Abandonează

In case of a field set to tracking=True, all html code will be displayed in the history.

Related Posts Răspunsuri Vizualizări Activitate
0
dec. 17
3629
1
iun. 15
6566
1
dec. 24
1054
login form Rezolvat
1
nov. 23
1466
1
aug. 22
3858