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?
Pertanyaan ini telah diberikan tanda
1
Balas
57021
Tampilan
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.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
0
Des 17
|
5568 | ||
|
|
1
Jun 15
|
8437 | ||
|
|
1
Des 24
|
3097 | ||
|
login form
Diselesaikan
|
|
1
Nov 23
|
2817 | |
|
|
1
Agu 22
|
5930 |
Thanks Axel,
is there an option to do this without changing core code?
Ralf