[Erp5-report] r36776 kazuhiko - /erp5/trunk/products/ERP5/Document/SolverTypeInformation.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jul 1 14:45:33 CEST 2010
Author: kazuhiko
Date: Thu Jul 1 14:45:30 2010
New Revision: 36776
URL: http://svn.erp5.org?rev=36776&view=rev
Log:
here, self is not a Solver Decision.
Modified:
erp5/trunk/products/ERP5/Document/SolverTypeInformation.py
Modified: erp5/trunk/products/ERP5/Document/SolverTypeInformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SolverTypeInformation.py?rev=36776&r1=36775&r2=36776&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SolverTypeInformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SolverTypeInformation.py [utf8] Thu Jul 1 14:45:30 2010
@@ -194,7 +194,7 @@ class SolverTypeInformation(Predicate, E
portal_type = configurable.getPortalType()
if portal_type == 'Solver Decision':
try:
- solver_portal_type = self.getSolverValue().getId()
+ solver_portal_type = configurable.getSolverValue().getId()
solver = None
except AttributeError:
return {}
@@ -213,7 +213,7 @@ class SolverTypeInformation(Predicate, E
pass
if solver is None:
- solver = self.getParentValue().newContent(
+ solver = configurable.getParentValue().newContent(
portal_type=solver_portal_type,
temp_object=True,
delivery_list=configurable.getDeliveryList(),
More information about the Erp5-report
mailing list