[Erp5-report] r14381 - /erp5/trunk/products/ERP5Type/patches/DCWorkflow.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri May 4 21:24:13 CEST 2007
Author: jp
Date: Fri May 4 21:24:13 2007
New Revision: 14381
URL: http://svn.erp5.org?rev=14381&view=rev
Log:
Missing imports.
Modified:
erp5/trunk/products/ERP5Type/patches/DCWorkflow.py
Modified: erp5/trunk/products/ERP5Type/patches/DCWorkflow.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/DCWorkflow.py?rev=14381&r1=14380&r2=14381&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/DCWorkflow.py (original)
+++ erp5/trunk/products/ERP5Type/patches/DCWorkflow.py Fri May 4 21:24:13 2007
@@ -34,7 +34,7 @@
# 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 @@
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
More information about the Erp5-report
mailing list