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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aaron Chen
erp5
Commits
ebab5f45
Commit
ebab5f45
authored
Mar 02, 2015
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XXX Don't load worklist by default
parent
4688c55e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5Type/patches/WorkflowTool.py
product/ERP5Type/patches/WorkflowTool.py
+2
-2
No files found.
product/ERP5Type/patches/WorkflowTool.py
View file @
ebab5f45
...
...
@@ -432,7 +432,7 @@ def generateActionList(worklist_metadata, worklist_result, portal_url):
'category'
:
metadata
[
'action_box_category'
]})
return
action_list
def
WorkflowTool_listActions
(
self
,
info
=
None
,
object
=
None
,
src__
=
False
):
def
WorkflowTool_listActions
(
self
,
info
=
None
,
object
=
None
,
include_worklist
=
False
,
src__
=
False
):
"""
Returns a list of actions to be displayed to the user.
...
...
@@ -478,7 +478,7 @@ def WorkflowTool_listActions(self, info=None, object=None, src__=False):
if
a
is
not
None
:
worklist_dict
[
wf_id
]
=
a
if
worklist_dict
:
if
include_worklist
and
worklist_dict
:
portal
=
self
.
getPortalObject
()
portal_url
=
portal
.
portal_url
()
def
_getWorklistActionList
():
...
...
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