diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2011-10-26 01:31:41 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2011-10-26 01:31:41 +0200 |
| commit | 0d2ae40a70ba3be3ccf8e439b4ed92a1ec4719d6 (patch) | |
| tree | 9edce01a77687bc4f2c07b218c2bbffea35853cf /addons/project_long_term/wizard/project_compute_tasks.py | |
| parent | 68adb9de7e729dd5bb62ca9bc60c584d02ec3563 (diff) | |
[FIX] Complete refactoring of project_long_term, with following changes:
do not use resources but users on phases:
- to be consistent with project members and task responsible
- if the user is linked to a resource, it uses the calendar of the resource (holidays for example)
better YML tests
Complete rewrite of the scheduling mechanism:
- Schedule phases:
- write project.user.allocation based on scheduling
- schedule resources based on members on the project
- new constraint: force some users on a phase
- Schedule tasks:
- set user if no user on task
- set start and end date
some useability improvements
We still have to work on better Gantt view but I think the scheduling is
working correctly now.
bzr revid: fp@tinyerp.com-20111025233141-cgctwe8spxhko2gn
Diffstat (limited to 'addons/project_long_term/wizard/project_compute_tasks.py')
| -rw-r--r-- | addons/project_long_term/wizard/project_compute_tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project_long_term/wizard/project_compute_tasks.py b/addons/project_long_term/wizard/project_compute_tasks.py index a74cd07ddc6..24240f90a54 100644 --- a/addons/project_long_term/wizard/project_compute_tasks.py +++ b/addons/project_long_term/wizard/project_compute_tasks.py @@ -30,7 +30,7 @@ class project_compute_tasks(osv.osv_memory): def compute_date(self, cr, uid, ids, context=None): """ - Schedule the tasks according to resource available and priority. + Schedule the tasks according to users and priority. """ project_pool = self.pool.get('project.project') task_pool = self.pool.get('project.task') |
