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
ตอบกลับ
57019
มุมมอง
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.
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
0
ธ.ค. 17
|
5565 | ||
|
|
1
มิ.ย. 15
|
8437 | ||
|
|
1
ธ.ค. 24
|
3096 | ||
|
login form
แก้ไขแล้ว
|
|
1
พ.ย. 23
|
2816 | |
|
|
1
ส.ค. 22
|
5930 |
Thanks Axel,
is there an option to do this without changing core code?
Ralf