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?
Dette spørgsmål er blevet anmeldt
1
Svar
57010
Visninger
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.
Kan du lide at diskutere? Læs ikke bare med, deltag aktivt i debatten!
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
|
0
dec. 17
|
5564 | ||
|
|
1
jun. 15
|
8435 | ||
|
|
1
dec. 24
|
3089 | ||
|
login form
Løst
|
|
1
nov. 23
|
2812 | |
|
|
1
aug. 22
|
5929 |
Thanks Axel,
is there an option to do this without changing core code?
Ralf