Commit 13edbe90 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

InteractionWorkflow.py: add property Reference and varable default _reference,...

InteractionWorkflow.py: add property Reference and varable default _reference, add _isAWorkflow for compatibility.
parent 1eff5f43
......@@ -49,17 +49,18 @@ from Products.ERP5Type.id_as_reference import IdAsReferenceMixin
_MARKER = []
class InteractionWorkflow(IdAsReferenceMixin('erp5workflow_'), XMLObject):
class InteractionWorkflow(IdAsReferenceMixin('_interactionworkflow'), XMLObject):
"""
An ERP5 Interaction Workflow.
"""
meta_type = 'ERP5 Workflow'
portal_type = 'Interaction Workflow'
_isAWorkflow = True # DCWorkflow Tool compatibility
add_permission = Permissions.AddPortalContent
isPortalContent = 1
isRADContent = 1
default_reference = ''
### zwj: for security issue
managed_permission_list = ()
managed_role = ()
......@@ -79,6 +80,7 @@ class InteractionWorkflow(IdAsReferenceMixin('erp5workflow_'), XMLObject):
PropertySheet.XMLObject,
PropertySheet.CategoryCore,
PropertySheet.DublinCore,
PropertySheet.Reference,
PropertySheet.InteractionWorkflow,
)
......
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