コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
10651 ビュー

Been looking at how to enable code view (which used to be symbolised by > in the old editor) however I can't find any way to use it with the new HTML field on version 15.


Did anyone find how to use it? A major feature of the editor is just to remove.

アバター
破棄
最善の回答

Hi,

Add the following with the html field in odoo 15:  options="{'codeview': true}"

Thanks

アバター
破棄
著作者

This worked, thank you!

最善の回答

Hello Levi Bensley,

If you want to use HTML editor on any particular field, use an HTML widget.

Find  Example in Comment.


Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

アバター
破棄

Example:
In XML file,
<field name="html_field" widget="html"/>

関連投稿 返信 ビュー 活動
1
1月 25
3649
1
11月 22
2043
1
10月 22
2772
0
1月 22
3121
0
7月 16
6033