Odoo Help


How to set task duration in project management?

JC François
on 11/12/14, 6:17 AM 2,556 views

I am trying to manage a small project with the projetc management module. I want to enter decription, sequence and expected duration for each task then let the system calculate the earliest finish date.

I read the documentation here where it seems possible to do so. However in my oDoo account there is no field to specify "Planned Hour(s)" as mentioned in the documentation. I only see "sequence", "Starting Date" and "Ending Date" but I don't want to have to change all of those manually every time a task changes obviously.

Am I missing a module maybe?


René Schuster

--René Schuster--
| 5 5 8
Weinheim, Germany
--René Schuster--

Challenge Everything!

René Schuster
On 11/12/14, 6:56 AM

As far as I can see it is not possible to enter the duration of a task. You have to enter start and end date.

A duration field with 'compute' and 'inverse' would be nice, but still needs to be filled manually.

To get the starting date automatically you will most likely need an on_change method on the sequence field.

But imagine this scenario:

  • You change the sequence
  • The earliest possible start date will be calculated
  • The earliest end date will be calculated with respect to the duration

So far, so fine. But now you have to call a function to recalculate all dates for all subsequent tasks.

This can be done, but might take quite some effort to be done well.

Thanks for your response. However on the documentation page (http://openerpbook.com/project-service/project/4_13_Projects_management.html#managing-tasks) there is a screenshot of a task form showing an "initially planned hours" field as well as some other work-related field that I do not see in my instance of Odoo. Besides, http://openerpbook.com/project-service/project/4_13_Projects_management.html#priority-management says "You can set the Working Time in the project file. (...) Once the time is specified you can call up a project Gantt chart from Tasks. The system then calculates a project plan for earliest delivery using task ordering and the working time." So there must be a way I guess.

JC François
on 11/12/14, 7:32 AM

I can't see 'initially planned hours' neither... ; The Working Time mentioned in the section 'Priority Management' means the amount of daily working hours, and not the duration of a specific task, I think.

René Schuster
on 11/12/14, 7:50 AM

Without automatic task scheduling I might as well manage my project on a piece of paper...

JC François
on 11/12/14, 7:58 AM

Go to 'Settings' -> 'Configuration' -> 'Projects' and activate 'Manage time estimation on tasks'. This will show you the fields you are missing, but I fear it will not really help you with your issue. But what really is the problem with entering sequence, start date and end date?

René Schuster
on 11/12/14, 8:09 AM

Good. The problem is that if I have 15 task back to back and the 2nd one is delayed I have to manually change the start dates and end dates of the 13 subsequent ones to re-evaluate the completion date of the project!

JC François
on 11/12/14, 8:11 AM

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/12/14, 6:17 AM
Seen: 2556 times
Last updated: 3/16/15, 8:10 AM