Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
2354 Vues

I am a starter in odoo. Can anyone help me to find a solution for the problem mentioned below?

in CRM Module , i want a mail when any changes made to the Records the manger should be notified of  and manager should be notified 90 days prior to expiry of field (subscription) and automatically

Can anyone help me to achieve this goal. Thanks in advance.

Avatar
Ignorer
Meilleure réponse

You should be able to use Automated Actions to create notifications, and you can monitor selected fields for any change.  

Start by enabling developer mode and navigating to Settings / Technical / Automated Actions.


Create a new Automated Action as follows:

(You can add more "watched fields" as required).

You also need to create an email template, something like this:


The ${object.stage_id.name} ${object.name} has been updated
 
Expected revenue is ${object.company_currency.name}${"%.2f" % object.planned_revenue}
 
Notes: ${object.description}
Salesperson: ${object.user_id.name}
 
Lead was created on ${object.create_date}

This will create an email like this:


Email templates can be a little tricky (in my experience), but there are a lot of examples already setup and you should be able to copy logic from one of them. 

More information on Automated Actions

Avatar
Ignorer
Auteur

thanks