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?
Tämä kysymys on merkitty
1
Vastaa
57052
Näkymät
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.
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
|
0
jouluk. 17
|
5604 | ||
|
|
1
kesäk. 15
|
8448 | ||
|
|
1
jouluk. 24
|
3122 | ||
|
login form
Ratkaistu
|
|
1
marrask. 23
|
2842 | |
|
|
1
elok. 22
|
5951 |
Thanks Axel,
is there an option to do this without changing core code?
Ralf