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?
La domanda è stata contrassegnata
1
Rispondi
57017
Visualizzazioni
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')In case of a field set to tracking=True, all html code will be displayed in the history.
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
|
0
dic 17
|
5564 | ||
|
|
1
giu 15
|
8436 | ||
|
|
1
dic 24
|
3096 | ||
|
login form
Risolto
|
|
1
nov 23
|
2815 | |
|
|
1
ago 22
|
5930 |
Thanks Axel,
is there an option to do this without changing core code?
Ralf