Odoo Help

0

Send Automated Action email immediately?

By
dirtyHandsPHP
on 6/5/14, 8:51 AM 914 views

I have created an Automated Action to send email to HR, 7 days before confirmation of any employee in the organization. I have created Server Action and changed confirmation date of one employee as well to test email flow. I got that email after around 2 hours. Is there any method or setting through which we can send email immediately for testing purpose?
 

0

René Schuster

--René Schuster--
1620
| 5 5 8
Weinheim, Germany
--René Schuster--

Challenge Everything!

René Schuster
On 6/5/14, 9:40 AM

Server actions with type 'Email' use ir_mail_server.send_email:

 """Sends an email directly (no queuing).

So maybe the condition or Timer for your automated action isn't working?

Note:

email_template.send_mail has a parameter force_send:

:param bool force_send: if True, the generated mail.message is
                immediately sent after being created, as if the scheduler
                was executed for this message only.

Regards.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/5/14, 8:51 AM
Seen: 914 times
Last updated: 3/16/15, 8:10 AM