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?
Această întrebare a fost marcată
1
Răspunde
57030
Vizualizări
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.
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
0
dec. 17
|
5574 | ||
|
|
1
iun. 15
|
8438 | ||
|
|
1
dec. 24
|
3105 | ||
|
login form
Rezolvat
|
|
1
nov. 23
|
2825 | |
|
|
1
aug. 22
|
5931 |
Thanks Axel,
is there an option to do this without changing core code?
Ralf