how is possible to add a static email address (ccn) in the outgoing email which confirm Event Registration?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi Davide, you can search for the email template which you are using for sending event registration confirmation email under settings->email->templates and then for that template there will be a tab called Email Configuration there you can define your static email CC.
Method 2 : you can also define it at you python code like,
Sample code syntax :
mail_vals = {
'email_from':'specify email from',
'email_to': 'specify email to',
'email_cc':'specify email cc',
'subject':'specify subject',
'body_html':'specify body',
}
self.pool.get('mail.mail').create(cr,uid,mail_vals)
Method 3: Once you search and get the template id then you can write the required email_cc for that related template to achive the functionality.
Sample code syntax:
self.pool.get('mail.template').write(cr,uid,template_id,{'email_to':'add email to','email_from':'add email from','email_cc':'add email cc'})
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 12 23
|
9117 | ||
|
1
thg 1 19
|
5797 | ||
|
1
thg 5 23
|
3744 | ||
|
2
thg 7 19
|
4868 | ||
|
3
thg 5 18
|
4937 |