Only adapt task leafs according to timesheets
FEA: ItEr77S12AdaptPlanningAccordingTimesheets
This commit is contained in:
parent
51f3d75038
commit
1e0abf1299
1 changed files with 5 additions and 0 deletions
|
|
@ -63,6 +63,11 @@ public class AdaptPlanningCommand implements IAdaptPlanningCommand {
|
|||
List<TaskElement> taskElements = planningState.getRootTask()
|
||||
.getAllChildren();
|
||||
for (TaskElement taskElement : taskElements) {
|
||||
// Only adapt task leafs
|
||||
if (!taskElement.isLeaf()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
OrderElement orderElement = taskElement.getOrderElement();
|
||||
// Reset status to allow move the task if needed while adapting the
|
||||
// planning
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue