Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4173 Переглядів

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}

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
7
жовт. 19
13615
0
серп. 22
3057
3
трав. 16
4388
3
трав. 15
4651
1
квіт. 25
945