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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hardik Juneja
erp5
Commits
782fe924
Commit
782fe924
authored
Aug 04, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "patches/DCWorkflow.py: correct commentairies."
This reverts commit
ea00f588
.
parent
8a3e0a32
Changes
1
Show 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 @
782fe924
...
@@ -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 patches are required for the new workflow tool compatibility.
# following
15
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
#
return infomation to
Base_viewDict
#
a necessary funtion in
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