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

Set Deadline in 14 days when task is created in specific project

By
Robert Klüsener
on 9/9/13, 7:01 AM 750 views

How can I automatically set a deadline in two weeks when I create a new task in a specific project?

0
Robert Klüsener
On 9/11/13, 4:49 PM

Create an automated action with a "In New Stage" filter as post condition. Trigger an server action type write and set the following formula for the deadline:

time.strftime('%Y-%m-%d %H:%M:%S',time.gmtime(time.time()+14*24*3600))

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/9/13, 7:01 AM
Seen: 750 times
Last updated: 3/16/15, 8:10 AM