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

 I'm testing mass mailing in odoo cloud version and was wondering if there is a way to use "merge tags", e.g. for a personalized salutation e.g. Dear <Firstname>... 

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

You can use dynamic placeholders in both regular email templates and mass mailings. The syntax is ${object.field}. To add a simple personalized salutation to a mass mailing sent to a contact, use an expression like "Hi ${object.name}".

A more robust expression would be something like: 

Hey ${not object.is_company and object.name and object.name.lower().replace('*', '').replace('(closed)', '').replace('closed', '').title().strip().split()[0] or 'There'},

You can access a placeholder generator within Odoo by navigating to Settings/Technical/Email/Templates, opening a template, then opening the "Dynamic Placeholder Generator" notebook page.

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

i need also a solution. Can you help me. I want to Insert the Name of an Contact (res.partner) inside an Text Block. 

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

Can you also use dynamic placeholders and merge tags in marketing automaiton e-mails? If yes, is there a list of tags and/or shortcodes that we can use for reference? Thanks.

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

Any ideas? 

Ả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 25
881
1
thg 2 25
3825
2
thg 12 24
1964
14
thg 8 20
8339
1
thg 1 23
3303