Commit 3a545fc8 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Missing imports.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14381 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c07d01f3
......@@ -34,7 +34,7 @@ from zLOG import LOG
# Patch WorkflowUIMixin to add description on workflows
from Products.DCWorkflow.WorkflowUIMixin import WorkflowUIMixin as WorkflowUIMixin_class
from Products.DCWorkflow.Guard import Guard
from Products.DCWorkflow.Guard import Guard, _checkPermission, createExprContext, StateChangeInfo
def WorkflowUIMixin_setProperties( self, title
, description='' # the only addition to WorkflowUIMixin.setProperties
......@@ -475,7 +475,7 @@ def getPortalTypeListForWorkflow(self):
if workflow_id in workflow_tool.getChainFor(portal_type):
result.append(portal_type)
return result
DCWorkflowDefinition.getPortalTypeListForWorkflow = getPortalTypeListForWorkflow
# This patch allows to use workflowmethod as an after_script
......
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