Commit 8124e929 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

simplify the condition of checking Delivery or Movement.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33944 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a2bb8631
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment