Odoo Help

6
5
ClueLogics Technologies Pvt. Ltd.
On 5/23/13, 3:40 AM

Hi Mr. Tony you can do it very easily follow below instructions

  1. check user email setup in `users` menu

create a server action for project.task action typeemail and condition True

in email type ${object.user_id.email} provide all other info as you wish

then create an Automated action for project.task

leave blank condition TAB just select above created server action in the action TAB

try to edit project task

then auto action will detect and the email will be sent assigned user

thanks
Sandeep

Thanks this helped a lot but I have one other issue. I did this procedure for "Issues" and when I setup the email form it is not recognizing the variables. For example when I create an issue the server sends out the email like this<b> Hello object.user_id.email Here are your ticket Details: Ticket: object.project_id.name Desctiption: object.description

Tony
on 6/6/13, 3:27 PM

I succeeded using 'object.user_email' instead of using. But it sends emails on any modification of the task. Which is undesirable. I was wanting to limit the email going out to "Task Creation" only. The other issue is that I can't get the object.description or ${object.description} or any type of link to the task in the email body itself.

Michael Gardner
on 6/6/13, 11:38 PM
0
Michael Gardner
On 5/22/13, 8:44 PM

I too would like to know the answer to this question. Has anyone worked this out?

Did you find an answer: send email ONLY on creation of Task.

philip
on 8/23/13, 1:23 PM

I've got a solution, simply add a user defined filter for task object, as "[['create_date', '>', time.strftime('%Y-%m-%d %H:%M-1:%S')]]", then use the automated action and add this filter at post phase.

It means, unless the task is created less than one minute ago, do not triggler the automated action (email notification)

Jun XIONG
on 4/15/14, 9:16 AM

About This Community

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

Question tools

6 follower(s)

Stats

Asked: 3/1/13, 1:54 PM
Seen: 8102 times
Last updated: 3/16/15, 8:10 AM