Bug #1447: Prevent the creation of NOT_LATER_THAN constraint when a deadline is set.

FEA: ItEr76S04BugFixing
This commit is contained in:
Jacobo Aragunde Pérez 2012-05-16 13:48:53 +02:00
parent 59d80fe826
commit 06fc5b7be6

View file

@ -979,11 +979,6 @@ public abstract class OrderElement extends IntegrationEntity implements
.fromDateFields(this.getInitDate())));
return true;
}
if (getDeadline() != null) {
constraint.finishNotLaterThan(IntraDayDate.startOfDay(LocalDate
.fromDateFields(this.getDeadline())));
return true;
}
return false;
}