Take into account if the allocation has consolidations
If the task has consolidations is must be allocated in a forwards way. FEA: ItEr66OTS07PlanificacionHaciaAtrasItEr65OTS03
This commit is contained in:
parent
a2e8c3ea2e
commit
45fb180da0
1 changed files with 1 additions and 1 deletions
|
|
@ -627,7 +627,7 @@ public class Task extends TaskElement implements ITaskPositionConstrained {
|
|||
* The allocation direction in which the allocation must be done
|
||||
*/
|
||||
public Direction getAllocationDirection() {
|
||||
if (lastAllocationDirection == null) {
|
||||
if (lastAllocationDirection == null || hasConsolidations()) {
|
||||
return Direction.FORWARD;
|
||||
}
|
||||
return lastAllocationDirection;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue