Commit 52e065c2 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

patches/WorkflowTool.py: resolve the compatibility of Workflow Tool before migration.

parent 16e9e4a4
......@@ -973,6 +973,8 @@ def tool_changeWorkflows(self, default_chain, props=None, REQUEST=None):
WorkflowTool.manage_changeWorkflows = tool_changeWorkflows
WorkflowTool.getWorkflowValueListFor = WorkflowTool.getWorkflowsFor
def _getInfoFor(self, ob, name, default=_marker, wf_id=None, *args, **kw):
workflow_list = self.getWorkflowValueListFor(ob.getPortalType())
if wf_id is None:
......
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