Commit 0fa60d0e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

support the case when movement or list of movements are passed to buildSolverDecisionList().


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36521 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ebe5f515
......@@ -211,9 +211,11 @@ class SolverProcess(XMLObject, ActiveProcess):
for x in delivery_or_movement:
if x.isDelivery():
movement_list.extend(x.getMovementList())
else:
movement_list.append(x)
# We suppose here that movement_list is a list of
# delivery lines. Let us group decisions in such way
# delivery movements. Let us group decisions in such way
# that a single decision is created per divergence tester instance
# and per application level list
solver_tool = self.getPortalObject().portal_solvers
......
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