Odoo Help


How can I set the automated action about email notification

Ken Shen
on 9/23/13, 7:56 AM 9,056 views

Hi Guys,

I meet a problem when I was trying to setup CRM system. I want to make a function like 1. people assign new leads or new Claims to a sales team then system will automatically send a notification to the team leader's email address. 2. When team leader assign the lead or claim to a specific person, system will automatically send a notification to this person's eamil address.

Please help to tell me how to make it. Thanks a lot!

On 9/23/13, 8:30 AM


You can create an Automated Action which is linked to a Server Action of Type E-Mail.

For that need to set outgoing email server from the Settings-> Technical-> Email.

In Automated Actions, under Settings-> Technical-> Automated Actions you can define the server action and related Document model Lead/Opportunity, In Filter Condition After update Filter=Draft Lead

Acespritech Solutions Pvt. Ltd.
Mail: info@acespritech.com
Skype: acespritech
Blogs: http://acespritechblog.wordpress.com

Hi Thanks! But how can I set the sending email address is the team leader's address from the server action. Because i set different sales teams, I want system will get the email address automatically up to the the sales team people assigned.

Ken Shen
on 9/23/13, 8:37 AM


In the server action You can define object = Lead/Opportunity, Action Type=Email, Email Address = object.user_id.email.

on 9/23/13, 9:02 AM
On 12/9/16, 10:00 AM


I take interest in auto reply mail when customer send some request to us. Could you introduce me how to set auto reply on odoo10?



IT Libertas
On 9/7/16, 5:20 AM

Perhaps, this module would be of use: https://apps.odoo.com/apps/modules/9.0/total_notify/

On 7/31/15, 4:48 AM

Hi, I know its been a while...

I'm using Odoo 8. Got the email for new leads to be send and its working... But, the emails shows up empty.

This is the template I'm trying to use:

Subject Nuevo Lead: ${object.event_id.name}


Nombre Cliente: ${object.name}

ID: ${object.id}

Nº teléfono: ${object.phone}

Correo electrónico: ${object.email}

Compañía: ${object.company_id.partner_name}

Asunto: ${object.event_id.name}

Consulta: ${object.description}


This template I'm not sure yet if its the right format, I just get the email empty and the title of the lead. Can somebody guide me to get the template working? and check if this template is ok?


Got the template working: Nuevo Lead: #${object.id} - ${object.name} - Cliente: ${object.partner_id != False and object.partner_id.name or object.contact_name} Nuevo lead pendiente de revisión: Lead ID: ${object.id} Cliente: ${object.partner_id != False and object.partner_id.name or object.contact_name} Nº teléfono: ${object.phone} Correo electrónico: ${object.email_from} Compañía: ${object.partner_name} Asunto: ${object.name} Detalles: ${object.description} And the emails are working now, figure it out... there are actually 2 templates that we have to edit.

on 7/31/15, 8:01 AM

Hi @Dev12, May I request a detailed instruction on how did you do it? I'm not familiar with Automated Action/Server Action, thanks in advance :)

Ana trajano
on 1/8/16, 3:43 AM

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.


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)


Asked: 9/23/13, 7:56 AM
Seen: 9056 times
Last updated: 12/9/16, 10:00 AM