Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Sending notification when creating, confirmation, validation.

By
Samba Faye
on 9/18/13, 2:54 PM 6,338 views

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?

2

Andreas Brueckl

--Andreas Brueckl--
5056
| 7 8 7
Vienna, Austria
--Andreas Brueckl--
OpenERP Consulting and Development
Andreas Brueckl
On 9/19/13, 5:03 AM

You can create an Automated Action which is linked to a Server Action of Type E-Mail. For more information see here:

Thank you Andreas for your answer. Now I'm able to send mail. This is whate I do: At Server Action form: - 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 ]],

Samba Faye
on 9/19/13, 12:44 PM
0
Samba Faye
On 9/19/13, 12:55 PM

Thank you Andreas for your answer. Now I'm able to send mail. This is whate I do:

  1. 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.

  1. Save you modifications

You can now choose this action server at "cofirmation", "first validation" , "validation" and "refused" items.

0
Gustavo
On 9/18/13, 7:58 PM

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 :)

Hi! i've seen there : https://doc.odoo.com/6.1/book/7/7_18_Process/7_18_Process_workflow/ https://doc.odoo.com/6.0/developer/3_9_Workflow_Business_Process/ How did you say that we can add notification to managern mentor, .. in each state. Thanks!

Nanie BE
on 8/22/14, 8:17 AM

Hi Gustavo, can you give us example or a tutorial on sending email to a group with maipulating this workflow. Thanks

Nanie BE
on 8/28/14, 3:58 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/18/13, 2:54 PM
Seen: 6338 times
Last updated: 3/16/15, 8:10 AM