Commit c0bbf2ec authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix the condition to find an appropriate Solver Decision document, because now...

fix the condition to find an appropriate Solver Decision document, because now delivery values are a list of simulation movements.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36775 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 23fcad18
...@@ -243,7 +243,7 @@ class SolverProcess(XMLObject, ActiveProcess): ...@@ -243,7 +243,7 @@ class SolverProcess(XMLObject, ActiveProcess):
causality, delivery_list, solver_list = solver_decision_key causality, delivery_list, solver_list = solver_decision_key
matched_solver_decision_list = [ matched_solver_decision_list = [
x for x in solver_decision_list \ x for x in solver_decision_list \
if x.getDeliveryList() == list(delivery_list) and \ if x.getDeliveryValueList() == movement_dict.keys() and \
x.getCausality() == causality] x.getCausality() == causality]
if len(matched_solver_decision_list) > 0: if len(matched_solver_decision_list) > 0:
solver_decision_list.remove(matched_solver_decision_list[0]) solver_decision_list.remove(matched_solver_decision_list[0])
......
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