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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
53092
查看
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.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
12月 17
|
3629 | ||
|
1
6月 15
|
6566 | ||
|
1
12月 24
|
1054 | ||
login form
已解决
|
|
1
11月 23
|
1466 | |
|
1
8月 22
|
3858 |
Thanks Axel,
is there an option to do this without changing core code?
Ralf