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

Hi! 

In Odoo Enterprise 16 - Instead of copying the link to the Customer Preview page and adding it manually to the email body when sending the SO via email from Odoo, I would like to have the link in the email template itself. Is there some code I could add to the template? 

Ảnh đại diện
Huỷ bỏ
Tác giả

Hi!


Thank you for your reply! I edited the email template with this code (the whole code shown in the second image) and the "Customer preview" button is visible, but when sending the quotation the link is not generated in the email and the actual sent out email doesn't show this button at all. 

Okay, a little correction from our side you need to use t-attf-href for url like t-attf-href= {{ object.get_portal_url() }} instead,
, We have added correct in image,
If you tried the same but still not working then can you share us the code snippet to check the actual issue, Thanks

Câu trả lời hay nhất


This will provide generate the link of customer preview into Email Template



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 23
1926
1
thg 4 23
2805
1
thg 3 25
2688
1
thg 12 24
2012
2
thg 7 24
2214