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
Amer
erp5
Commits
726d85ba
Commit
726d85ba
authored
May 04, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patches/WorkflowTool.py: add universe methods for DC workflow.
parent
7a4831d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
product/ERP5Type/patches/WorkflowTool.py
product/ERP5Type/patches/WorkflowTool.py
+30
-0
No files found.
product/ERP5Type/patches/WorkflowTool.py
View file @
726d85ba
...
...
@@ -98,12 +98,42 @@ DCWorkflowDefinition.notifySuccess = DCWorkflowDefinition_notifySuccess
def
method_getReference
(
self
):
return
self
.
id
def
DCWorkflowDefinition_getVariableList
(
self
):
if
self
.
variables
is
not
None
:
return
self
.
variables
.
objectValues
()
else
:
return
None
def
DCWorkflowDefinition_getStateList
(
self
):
if
self
.
states
is
not
None
:
return
self
.
states
.
objectValues
()
else
:
return
None
def
DCWorkflowDefinition_getTransitionList
(
self
):
if
self
.
transitions
is
not
None
:
return
self
.
transitions
.
objectValues
()
else
:
return
None
def
DCWorkflowDefinition_getWorklistList
(
self
):
if
self
.
worklists
is
not
None
:
return
self
.
worklists
.
objectValues
()
else
:
return
None
DCWorkflowDefinition
.
getReference
=
method_getReference
TransitionDefinition
.
getReference
=
method_getReference
StateDefinition
.
getReference
=
method_getReference
VariableDefinition
.
getReference
=
method_getReference
WorklistDefinition
.
getReference
=
method_getReference
DCWorkflowDefinition
.
getVariableList
=
DCWorkflowDefinition_getVariableList
DCWorkflowDefinition
.
getStateList
=
DCWorkflowDefinition_getStateList
DCWorkflowDefinition
.
getTransitionList
=
DCWorkflowDefinition_getTransitionList
DCWorkflowDefinition
.
getWorklistList
=
DCWorkflowDefinition_getWorklistList
WORKLIST_METADATA_KEY
=
'metadata'
SECURITY_PARAMETER_ID
=
'local_roles'
COUNT_COLUMN_TITLE
=
'count'
...
...
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