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
لقد تم الإبلاغ عن هذا السؤال
2
الردود
52893
أدوات العرض
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
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
0
ديسمبر 17
|
3581 | ||
|
1
يونيو 15
|
6516 | ||
|
1
ديسمبر 24
|
1009 | ||
login form
تم الحل
|
|
1
نوفمبر 23
|
1402 | |
|
1
أغسطس 22
|
3804 |