Commit c5ca0e93 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

rename _getPortalTypeValue() to getPortalTypeValue(), because we might want to...

rename _getPortalTypeValue() to getPortalTypeValue(), because we might want to call target_solver.getPortalTypeValue() in restricted environment.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36949 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a5b0bab2
......@@ -180,7 +180,7 @@ class SolverProcess(XMLObject, ActiveProcess):
isTransitionPossible = self.getPortalObject().portal_workflow.isTransitionPossible
for solver in self.contentValues(portal_type=self.getPortalObject().getPortalTargetSolverTypeList()):
if solver.isTempObject():
solver_type = solver._getPortalTypeValue()
solver_type = solver.getPortalTypeValue()
solver_type.activate(activate_kw=activate_kw).solve(
activate_kw=activate_kw,
delivery_list=solver.getDeliveryList(),
......
......@@ -44,5 +44,5 @@ class SolverMixin:
# Implementation of ISolver
def _getPortalTypeValue(self):
def getPortalTypeValue(self):
return self.getPortalObject().portal_solvers._getOb(self.getPortalType())
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