Commit 92c60a24 authored by wenjie.zheng's avatar wenjie.zheng

ERP5/InteractionWorkflow.py: add function getPortalType, which returns the name of the class.

parent d6a5b298
......@@ -362,6 +362,9 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject):
return self.interactions.objectIds()
return None
def getPortalType(self):
return self.__class__.__name__
def showAsXML(self, root=None):
if root is None:
root = Element('erp5')
......
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