Commit 6f24d946 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Redefines the DCWorkflow "_changeStateOf" method. As InteractionWorkflow is a...

Redefines the DCWorkflow "_changeStateOf" method. As InteractionWorkflow is a stateless workflow, this should just do nothing.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1936 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ce7acf56
......@@ -117,6 +117,13 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject):
def listObjectActions(self, info):
return []
security.declarePrivate('_changeStateOf')
def _changeStateOf(self, ob, tdef=None, kwargs=None) :
"""
InteractionWorkflow is stateless. Thus, this function should do nothing.
"""
return
security.declarePrivate('isInfoSupported')
def isInfoSupported(self, ob, name):
'''
......
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