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?
Denna fråga har flaggats
1
Besvara
57033
Vyer
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.
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
0
dec. 17
|
5578 | ||
|
|
1
juni 15
|
8439 | ||
|
|
1
dec. 24
|
3107 | ||
|
login form
Löst
|
|
1
nov. 23
|
2828 | |
|
|
1
aug. 22
|
5932 |
Thanks Axel,
is there an option to do this without changing core code?
Ralf