Commit 883d86dd authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

revert r33571 and support multiple solver values in a simulation movement.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33735 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e6543f22
......@@ -228,6 +228,9 @@ class SolverProcess(XMLObject, ActiveProcess):
new_decision = self.newContent(portal_type='Solver Decision')
new_decision._setDeliveryList(solver_decision_key[1])
new_decision._setCausality(solver_decision_key[0])
for simulation_movement in movement_dict.keys():
simulation_movement.setSolverValueList(
simulation_movement.getSolverValueList() + [new_decision])
# XXX what should we do for non-matched existing solver decisions?
# do we need to cancel them by using an appropriate workflow?
......
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