Commit 68a3e52b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

here, self is not a Solver Decision.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36776 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c0bbf2ec
...@@ -194,7 +194,7 @@ class SolverTypeInformation(Predicate, ERP5TypeInformation): ...@@ -194,7 +194,7 @@ class SolverTypeInformation(Predicate, ERP5TypeInformation):
portal_type = configurable.getPortalType() portal_type = configurable.getPortalType()
if portal_type == 'Solver Decision': if portal_type == 'Solver Decision':
try: try:
solver_portal_type = self.getSolverValue().getId() solver_portal_type = configurable.getSolverValue().getId()
solver = None solver = None
except AttributeError: except AttributeError:
return {} return {}
...@@ -213,7 +213,7 @@ class SolverTypeInformation(Predicate, ERP5TypeInformation): ...@@ -213,7 +213,7 @@ class SolverTypeInformation(Predicate, ERP5TypeInformation):
pass pass
if solver is None: if solver is None:
solver = self.getParentValue().newContent( solver = configurable.getParentValue().newContent(
portal_type=solver_portal_type, portal_type=solver_portal_type,
temp_object=True, temp_object=True,
delivery_list=configurable.getDeliveryList(), delivery_list=configurable.getDeliveryList(),
......
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