Skip to Content
Menu
This question has been flagged
2 Replies
3276 Views

i'm using odoo 9 and i want to know how to create an automatic reminder when employee contract is going to expire by sending an email ?. Is it possible ? any help please ?

Avatar
Discard

If you want reminder that notify about expiration of contract then you can create calendar event.

you can do that by creating a scheduler and call mail template to send reminder mails

Author

thx, but how i can send mails could you help me please ??

Best Answer

If you want to send mail to concerned people ( attendees for ex)  within a reminder, you probably want to check out 
def do_mail_reminder(self, alert)

For me, if you just want to send email, you can just create your template with the employee's email specified in email_to and when your contract's going to expire,you call send_mail function 

Avatar
Discard
Author

thx and please could you tell me where i found def do_mail_reminder(self,alert) because i'm new with odoo and how i create the function send_mail

Related Posts Replies Views Activity
0
Jan 21
346
2
Nov 24
266
1
Oct 24
333
4
Oct 24
324
2
Oct 24
361