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
Sebastien Robin
erp5
Commits
2508758f
Commit
2508758f
authored
Sep 27, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: get...TypeList should not return multiple times the same value
parent
68df1e4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+2
-2
No files found.
product/ERP5/ERP5Site.py
View file @
2508758f
...
...
@@ -776,7 +776,7 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
for
state
in
wf
.
getStateValueList
():
if
group
in
state
.
getStateTypeList
():
state_list
.
append
(
state
.
getReference
())
return
tuple
(
s
tate_list
)
return
tuple
(
s
et
(
state_list
)
)
getStateList
=
CachingMethod
(
getStateList
,
id
=
(
'_getPortalGroupedStateList'
,
group
),
...
...
@@ -1302,7 +1302,7 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
for
state
in
wf
.
getStateValueList
():
if
state
.
getStateTypeList
():
state_list
.
append
(
state
.
getReference
())
return
tuple
(
s
orted_list
)
return
tuple
(
s
et
(
sorted_list
)
)
getStateList
=
CachingMethod
(
getStateList
,
id
=
(
'getPortalGroupedSimulationStateList'
),
...
...
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