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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
2
Vastaukset
52472
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.
Thanks Axel,
is there an option to do this without changing core code?
Ralf
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
0
jouluk. 17
|
3434 | ||
|
1
kesäk. 15
|
6214 | ||
|
1
jouluk. 24
|
848 | ||
login form
Ratkaistu
|
|
1
marrask. 23
|
1189 | |
|
1
elok. 22
|
3506 |