Skip to Content
Menu
This question has been flagged
1 Reply
951 Views

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 90 days prior to expiry of field (subscription) and automatically, how to do this with code 

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

Avatar
Discard
Best Answer

you can use automated action

it is configurable you just chose condition based in time interval

because it is prior you put '-' # of days you want

then you can add actions you want (for example sending emails,or add followers to the record)

check automated action Docs for more details

Avatar
Discard
Author

ikr but i want to do this code

you can put the configuration in XML file and add it to module data,

so when you install the module , the automated action will be created

you can check any Odoo modules for reference