ItEr44S11CUImportarTraballoRealizadoPorSubcontrataItEr43S14: Fixing problem in task properties window.
This commit is contained in:
parent
34f9fdbbea
commit
eef8667a73
2 changed files with 7 additions and 2 deletions
|
|
@ -698,6 +698,7 @@ public abstract class OrderPlanningModel implements IOrderPlanningModel {
|
|||
|
||||
private void forceLoadOfWorkingHours(List<TaskElement> initial) {
|
||||
for (TaskElement taskElement : initial) {
|
||||
taskElement.getTaskSource().getTotalHours();
|
||||
OrderElement orderElement = taskElement.getOrderElement();
|
||||
if (orderElement != null) {
|
||||
orderElement.getWorkHours();
|
||||
|
|
|
|||
|
|
@ -188,8 +188,12 @@ public class TaskPropertiesController extends GenericForwardComposer {
|
|||
.getStartConstraintType();
|
||||
startConstraintTypes.setSelectedItemApi(findComboWithType(type));
|
||||
startConstraintDate.setVisible(type.isAssociatedDateRequired());
|
||||
startConstraintDate.setValue(task.getStartConstraint()
|
||||
.getConstraintDate());
|
||||
|
||||
Date constraintDate = task.getStartConstraint()
|
||||
.getConstraintDate();
|
||||
if (constraintDate != null) {
|
||||
startConstraintDate.setValue(constraintDate);
|
||||
}
|
||||
}
|
||||
|
||||
private Comboitem findComboWithType(StartConstraintType type) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue