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

I need to send personalised emails to a large number of members of our association.

For each contact there will be a short html content of about 10 lines.

When using the email marketing module I'd like to add this personalised html content to the body of the mail.

I see how to insert personalised content through the Dynamic Placeholder generator.

So I am using the comment field of the res_partner table to store the html content.

But I don't get to have the html correctly rendered.

It is always shown as such, so the people see the html code, and not the rendering.

Any idea on how to solve this ?

Thanks a lot for  your  support !

아바타
취소
작성자 베스트 답변

Solution found :

Just add a "pipe safe " to allow the rendering.

In my case :  ${object.comment|safe}

아바타
취소
관련 게시물 답글 화면 활동
7
10월 19
13788
0
8월 22
3170
3
5월 16
4498
3
5월 15
4763
1
4월 25
1063