CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Good evening I want to send notification to the manager, the mentor and the employee during the creation, confirmation, the first validation and the second validantion of a leave request. I'd like to know at what level I have to act? On what methods should I do?
You can create an
Automated Action which is linked to a
Server Action of
For more information see here:
Thank you Andreas for your answer. Now I'm able to send mail. This is whate I do:
- I clicked on the confirm item of my workflow. At Server Action field, I've select "Create, Modify" option and fill the fields below:
- Action Name: any name
- Object: Leave
- Email Address (if for manager): object.employee_id.parent_id.work_email Email Address (if for user): object.employee_id.work_email
- Subject: Leave Request from [[ object.employee_id.name ]]
- Message: Hello [[ object.employee_id.parent_id.name ]],
If you want to send mail to many adresses choose for "Action type" the value "Mutliple action". And create action for each mail.
- Save you modifications
You can now choose this action server at "cofirmation", "first validation" , "validation" and "refused" items.
hello, what you're looking for can be something related to workflows. You can check in google "OpenERP Workflows and User Processes". With this you can do certain things according to a state within a process flow.
After manipulating the workflow can generate certain events such as sending an email to a certain person or group, that could be a notification.
Good luck :)
About This Community
Odoo Training Center
|Asked: 9/18/13, 2:54 PM|
|Seen: 7941 times|
|Last updated: 3/16/15, 8:10 AM|