Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4772 Lượt xem

Hi, 

I am trying to create a mass mail adding the HTML signature of each sales person individually.

Unfortunately the HTML is never parsed properly but its always showing HTML code on the received email.


This is the result:

https://drive.google.com/file/d/10i7NMd_MTWCbMcPOA8bI_DGHqzrqd55A/view?usp=sharing

Expected result similar like this (parsed HTML):

https://drive.google.com/file/d/10kucHN3xvaM7QhZniRMotEcL55kSrWEg/view?usp=sharing


I have tried this:

${(object.partner_id.user_id.signature)}

https://drive.google.com/file/d/10kAp6cyu8erJlJCgbA2FKupmiXzrtsIn/view?usp=sharing

 

Also I tried this but always the same result:

${(object.partner_id.user_id.signature|safe)}
${(object.partner_id.user_id.signature|e)}


I hope you can help me! Thanks a lot!

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Ok. I found the solution!

It is ${(object.partner_id.user_id.signature)|safe}
So its imporant where to put the Pipe!


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 24
680
1
thg 9 21
4179
3
thg 5 15
4656
1
thg 10 22
5496
7
thg 10 19
13619