I created an email template and automated action to send alert whenever an leave/timeoff is approved. I can see the mails in odoo emails section. There's a send now button. How can it be send automatically whenever leave approved.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
2
回复
2348
查看
There is force_send=True option to send emails immediately (when you send email from code). But I don't see this option available in Automated Action - send email.
Try to choose Action To Do - Exectute Python Code:
email_template = env['mail.template'].browse(your_email_template_id)
email_template.send_mail(record.id, force_send=True)
no code, only odoo GUI config.
This forum is not letting to post screenshots too. Is there anyway i can share screenshots.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
4月 23
|
2827 | ||
|
0
8月 23
|
1404 | ||
|
1
10月 15
|
7345 | ||
|
3
2月 18
|
7673 | ||
|
5
7月 25
|
2538 |
can you share the code?