Remove TIMESHEETS progress in tasks that are not updated from timesheets

This is needed when you for example remove a timesheet for task, and the task
was previously updated and marked as finished with the information from the
timesheet. If you adapt the planning again you need to remove the TIMESHEETS
progress accordingly.

FEA: ItEr77S12AdaptPlanningAccordingTimesheets
This commit is contained in:
Manuel Rego Casasnovas 2012-11-16 13:49:20 +01:00
parent 533199f33e
commit f9a9ef6d02

View file

@ -106,6 +106,8 @@ public class AdaptPlanningCommand implements IAdaptPlanningCommand {
}
taskElement.setUpdatedFromTimesheets(true);
} else {
removeTimesheetsProgressIfAny(orderElement);
}
}
for (TaskElement taskElement : taskElements) {