diff --git a/product/ERP5/Document/SolverProcess.py b/product/ERP5/Document/SolverProcess.py
index 3d4cc2fae79a15788a1045e72932a4f4872e2b00..9427d9c39d81c3053a544bb146b75edd9f52895f 100644
--- a/product/ERP5/Document/SolverProcess.py
+++ b/product/ERP5/Document/SolverProcess.py
@@ -170,8 +170,7 @@ class SolverProcess(XMLObject, ActiveProcess):
       delivery_or_movement = [delivery_or_movement]
     movement_list = []
     for x in delivery_or_movement:
-      if x.getPortalType() not in \
-             self.getPortalObject().getPortalMovementTypeList():
+      if x.isDelivery():
         movement_list.extend(x.getMovementList())
 
     # We suppose here that movement_list is a list of