Commit 260a601d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

update existing solver process and create solver decision objects if required.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33576 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b5af664c
...@@ -68,6 +68,9 @@ if solver_process is None:\n ...@@ -68,6 +68,9 @@ if solver_process is None:\n
solver_process = context.getPortalObject().portal_solvers.newSolverProcess(context)\n solver_process = context.getPortalObject().portal_solvers.newSolverProcess(context)\n
solver_list.append(solver_process.getRelativeUrl())\n solver_list.append(solver_process.getRelativeUrl())\n
context.setSolverList(solver_list)\n context.setSolverList(solver_list)\n
else:\n
# update existing solver process\n
solver_process.buildSolverDecisionList(context)\n
\n \n
# XXX should omit \'solved\' decision?\n # XXX should omit \'solved\' decision?\n
solver_decision_list = solver_process.objectValues(portal_type=\'Solver Decision\')\n solver_decision_list = solver_process.objectValues(portal_type=\'Solver Decision\')\n
......
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