Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
b0481102
Commit
b0481102
authored
Jul 17, 2012
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert
acbbf7c5
parent
ca166f6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
product/ERP5Type/patches/WorkflowTool.py
product/ERP5Type/patches/WorkflowTool.py
+0
-5
No files found.
product/ERP5Type/patches/WorkflowTool.py
View file @
b0481102
...
@@ -379,11 +379,6 @@ def sumCatalogResultByWorklist(grouped_worklist_dict, catalog_result):
...
@@ -379,11 +379,6 @@ def sumCatalogResultByWorklist(grouped_worklist_dict, catalog_result):
if
type
(
criterion_value_list
)
is
not
ExclusionList
:
if
type
(
criterion_value_list
)
is
not
ExclusionList
:
criterion_id_list
.
append
(
criterion_id
)
criterion_id_list
.
append
(
criterion_id
)
expected_class
=
class_dict
[
criterion_id
]
expected_class
=
class_dict
[
criterion_id
]
# in some cases it's not always possible get expected_class from
# first row from catalog (espc. when multiple security uids case which
# are not always filled in - i.e. mostly default None)
if
expected_class
==
type
(
None
):
expected_class
=
type
(
criterion_value_list
[
0
])
if
type
(
criterion_value_list
[
0
])
is
not
expected_class
:
if
type
(
criterion_value_list
[
0
])
is
not
expected_class
:
criterion_dict
[
criterion_id
]
=
ImmutableSet
([
expected_class
(
x
)
for
x
in
criterion_value_list
])
criterion_dict
[
criterion_id
]
=
ImmutableSet
([
expected_class
(
x
)
for
x
in
criterion_value_list
])
elif
type
(
criterion_value_list
)
is
not
ImmutableSet
:
elif
type
(
criterion_value_list
)
is
not
ImmutableSet
:
...
...
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