콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
10710 화면

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
3680
1
11월 22
2107
1
10월 22
2797
0
1월 22
3176
0
7월 16
6066