Save modified relation
authorAsier Martirena <asier.martirena@openbravo.com>
Tue, 28 Nov 2017 15:34:02 +0100
changeset 32424 8c44968006a4
parent 32423 800b5983140c
child 32425 267f4b5ebcb4
Save modified relation
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java
--- a/src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java	Tue Nov 28 13:01:27 2017 +0100
+++ b/src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java	Tue Nov 28 15:34:02 2017 +0100
@@ -983,6 +983,7 @@
                     final OrderLine inverseProductLine = OBDal.getInstance().get(OrderLine.class,
                         linesRelations.get(serviceRelation.getOrderlineRelated().getId()));
                     serviceRelation.setOrderlineRelated(inverseProductLine);
+                    OBDal.getInstance().save(serviceRelation);
                   }
                 }
               } else {