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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
49872
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Dec 17
|
2659 | ||
|
1
Jun 15
|
5318 | ||
login form
Solved
|
|
1
Nov 23
|
693 | |
|
1
Aug 22
|
2544 | ||
|
1
Sep 24
|
2889 |