How to setup an email notification to manager when an employee requests for leave and also when manager approves or refuses the leave (email notification is to be sent to the employee regarding the status) in Odoo 10. Help needed. I'm able to send invitation mail & password reset email to the respective user upon creation from the odoo system.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
3
Replies
5182
Views
did you find a solution please !
Mohamed Zouine! Thanks for the above information furnished. I'm still a beginner and in need of detailed explanations.(tutorial sort of thing)
Hi, you should first create email templates for the request/approval/refection.
Then you create a function and add it to the create button and it should be like this :
template = self.env.ref('module_where_tepmlates_are_defined.your_template_id')
self.env['mail.template'].browse(template.id).send_mail(self.id)
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
How to ORDER BY? [Odoo 10]
Solved
|
|
2
Nov 24
|
25098 | |
|
0
Jul 24
|
197 | ||
|
2
May 24
|
5524 | ||
|
3
Mar 24
|
4964 | ||
|
0
Mar 24
|
264 |