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?
لقد تم الإبلاغ عن هذا السؤال
1
الرد
57007
أدوات العرض
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
ديسمبر 17
|
5564 | ||
|
|
1
يونيو 15
|
8435 | ||
|
|
1
ديسمبر 24
|
3089 | ||
|
login form
تم الحل
|
|
1
نوفمبر 23
|
2812 | |
|
|
1
أغسطس 22
|
5929 |
Thanks Axel,
is there an option to do this without changing core code?
Ralf