[Bug #1228] Fix issue creating default write authorization
When user closes the project creation pop-up with accept, before saving the default write authorization is created now re-using the previous code. FEA: ItEr75S04BugFixing
This commit is contained in:
parent
75bc0ffd4a
commit
ad511c51d3
3 changed files with 8 additions and 0 deletions
|
|
@ -1103,6 +1103,7 @@ public class OrderCRUDController extends GenericForwardComposer {
|
|||
editNewCreatedOrder();
|
||||
// close project details window
|
||||
detailsWindow.setVisible(false);
|
||||
setupOrderAuthorizationController();
|
||||
saveAndContinue(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1044,6 +1044,12 @@ public class PlanningStateCreator {
|
|||
orderAuthorizationsRemoval.add(orderAuthorization);
|
||||
}
|
||||
}
|
||||
|
||||
public void cleanOrderAuthorizationsAdditionAndRemoval() {
|
||||
orderAuthorizationsAddition.clear();
|
||||
orderAuthorizationsRemoval.clear();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public interface IAllocationCriteria {
|
||||
|
|
|
|||
|
|
@ -366,6 +366,7 @@ public class SaveCommandBuilder {
|
|||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
state.cleanOrderAuthorizationsAdditionAndRemoval();
|
||||
}
|
||||
|
||||
private void createAdvancePercentagesIfRequired(Order order) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue