Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sven Franck
erp5
Commits
92c60a24
Commit
92c60a24
authored
9 years ago
by
wenjie.zheng
Browse files
Options
Download
Email Patches
Plain Diff
ERP5/InteractionWorkflow.py: add function getPortalType, which returns the name of the class.
parent
d6a5b298
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
product/ERP5/InteractionWorkflow.py
product/ERP5/InteractionWorkflow.py
+3
-0
No files found.
product/ERP5/InteractionWorkflow.py
View file @
92c60a24
...
...
@@ -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'
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment