Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alain Takoudjou
erp5
Commits
ea00f588
Commit
ea00f588
authored
Aug 03, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patches/DCWorkflow.py: correct commentairies.
parent
14889d3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5Type/patches/DCWorkflow.py
product/ERP5Type/patches/DCWorkflow.py
+2
-2
No files found.
product/ERP5Type/patches/DCWorkflow.py
View file @
ea00f588
...
@@ -772,7 +772,7 @@ def DCWorkflowDefinition_notifySuccess(self, ob, transition_list, result, args=N
...
@@ -772,7 +772,7 @@ def DCWorkflowDefinition_notifySuccess(self, ob, transition_list, result, args=N
'''
'''
pass
pass
# following
15
patches are required for the new workflow tool compatibility.
# following patches are required for the new workflow tool compatibility.
def
DCWorkflowDefinition_getVariableValueList
(
self
):
def
DCWorkflowDefinition_getVariableValueList
(
self
):
if
self
.
variables
is
not
None
:
if
self
.
variables
is
not
None
:
return
self
.
variables
return
self
.
variables
...
@@ -820,7 +820,7 @@ def DCWorkflowDefinition_getPortalType(self):
...
@@ -820,7 +820,7 @@ def DCWorkflowDefinition_getPortalType(self):
return
self
.
__class__
.
__name__
return
self
.
__class__
.
__name__
def
method_getReference
(
self
):
def
method_getReference
(
self
):
return
self
.
id
return
self
.
id
#
a necessary funtion in
Base_viewDict
#
return infomation to
Base_viewDict
def
DCWorkflowDefinition_showDict
(
self
):
def
DCWorkflowDefinition_showDict
(
self
):
attr_dict
=
{}
attr_dict
=
{}
for
attr
in
sorted
(
self
.
__dict__
.
keys
()):
for
attr
in
sorted
(
self
.
__dict__
.
keys
()):
...
...
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