From 0d2ae40a70ba3be3ccf8e439b4ed92a1ec4719d6 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 26 Oct 2011 01:31:41 +0200 Subject: [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 --- .../project_long_term/project_long_term_view.xml | 157 +++++++-------------- 1 file changed, 53 insertions(+), 104 deletions(-) (limited to 'addons/project_long_term/project_long_term_view.xml') diff --git a/addons/project_long_term/project_long_term_view.xml b/addons/project_long_term/project_long_term_view.xml index 49b306ebfd5..b5af969f554 100644 --- a/addons/project_long_term/project_long_term_view.xml +++ b/addons/project_long_term/project_long_term_view.xml @@ -5,29 +5,29 @@ # ------------------------------------------------------ - # Project Resource Allocation + # Project User Allocation # ------------------------------------------------------ - - project.resource.allocation.gantt - project.resource.allocation + + project.user.allocation.gantt + project.user.allocation gantt - + - - project.resource.allocation.calendar - project.resource.allocation + + project.user.allocation.calendar + project.user.allocation calendar - + @@ -35,53 +35,51 @@ - - project.resource.allocation.form - project.resource.allocation + + project.user.allocation.form + project.user.allocation form -
+ - + -
- - project.resource.allocation.list - project.resource.allocation + + project.user.allocation.list + project.user.allocation tree - - + + - - - project.resource.allocation.search - project.resource.allocation + + project.user.allocation.search + project.user.allocation search - + - + - + @@ -90,12 +88,12 @@ - Resources Allocation - project.resource.allocation + Users Allocation + project.user.allocation form gantt,tree,form,calendar {} - + @@ -110,32 +108,27 @@
- - - - - - - + + + + + - - + - - - - + + + + - - - + + - @@ -162,38 +155,9 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
-