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
This question has been flagged
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
अप्रैल 23
|
2781 | ||
|
0
अग॰ 23
|
1388 | ||
|
1
अक्तू॰ 15
|
7290 | ||
|
3
फ़र॰ 18
|
7619 | ||
|
5
जुल॰ 25
|
2415 |
can you share the code?