Commit 63a3bb14 authored by wenjie.zheng's avatar wenjie.zheng

CopySupport.py: copy clone action now support new workflow.

parent 83a010b7
......@@ -282,7 +282,7 @@ class CopyContainer:
# Add info about copy to edit workflow
REQUEST = get_request()
pw = portal.portal_workflow
if 'edit_workflow' in pw.getChainFor(self)\
if portal.portal_workflow._getOb('edit_workflow') in pw.getWorkflowsFor(self)\
and (REQUEST is None or
not REQUEST.get('is_business_template_installation', 0)):
if REQUEST is not None and REQUEST.get('__cp', 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