[Bug #631] Fixed bug reattaching order in order to be navigable.
FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
This commit is contained in:
parent
f2e07cb07e
commit
6b2ecbb288
1 changed files with 1 additions and 1 deletions
|
|
@ -152,6 +152,7 @@ public class TransferOrdersModel implements ITransferOrdersModel {
|
|||
_("Source and destination scenarios should be different"));
|
||||
}
|
||||
|
||||
orderDAO.save(order);
|
||||
OrderVersion sourceOrderVersion = order
|
||||
.getOrderVersionFor(sourceScenario);
|
||||
if (sourceOrderVersion == null) {
|
||||
|
|
@ -168,7 +169,6 @@ public class TransferOrdersModel implements ITransferOrdersModel {
|
|||
_("Order version is the same in source and destination scenarios"));
|
||||
}
|
||||
|
||||
orderDAO.save(order);
|
||||
order.useSchedulingDataFor(sourceOrderVersion);
|
||||
|
||||
OrderVersion newOrderVersion = OrderVersion
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue