[Erp5-report] r36775 kazuhiko - /erp5/trunk/products/ERP5/Document/SolverProcess.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jul 1 14:21:16 CEST 2010


Author: kazuhiko
Date: Thu Jul  1 14:21:11 2010
New Revision: 36775

URL: http://svn.erp5.org?rev=36775&view=rev
Log:
fix the condition to find an appropriate Solver Decision document, because now delivery values are a list of simulation movements.

Modified:
    erp5/trunk/products/ERP5/Document/SolverProcess.py

Modified: erp5/trunk/products/ERP5/Document/SolverProcess.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SolverProcess.py?rev=36775&r1=36774&r2=36775&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SolverProcess.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SolverProcess.py [utf8] Thu Jul  1 14:21:11 2010
@@ -243,7 +243,7 @@ class SolverProcess(XMLObject, ActivePro
       causality, delivery_list, solver_list = solver_decision_key
       matched_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]
       if len(matched_solver_decision_list) > 0:
         solver_decision_list.remove(matched_solver_decision_list[0])




More information about the Erp5-report mailing list