Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
afa64309
Commit
afa64309
authored
May 18, 2017
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SimulationTool: Pop select_list when generating select_dict
Do not give conflicting instructions to portal_catalog.
parent
d43bd352
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5/Tool/SimulationTool.py
product/ERP5/Tool/SimulationTool.py
+1
-1
No files found.
product/ERP5/Tool/SimulationTool.py
View file @
afa64309
...
@@ -822,7 +822,7 @@ class SimulationTool(BaseTool):
...
@@ -822,7 +822,7 @@ class SimulationTool(BaseTool):
# the caller can also pass select_dict or select_list. select_expression,
# the caller can also pass select_dict or select_list. select_expression,
# which is deprecated in ZSQLCatalog is not supported here.
# which is deprecated in ZSQLCatalog is not supported here.
select_dict
=
kw
.
get
(
'select_dict'
,
{})
select_dict
=
kw
.
get
(
'select_dict'
,
{})
select_dict
.
update
(
dict
.
fromkeys
(
list
(
kw
.
get
(
'select_list'
,
[]))
+
related_group_by
))
select_dict
.
update
(
dict
.
fromkeys
(
list
(
kw
.
pop
(
'select_list'
,
[]))
+
related_group_by
))
new_kw
[
'select_dict'
]
=
select_dict
new_kw
[
'select_dict'
]
=
select_dict
related_key_select_expression_list
=
[]
related_key_select_expression_list
=
[]
...
...
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