Commit aaec0ba5 authored by Jérome Perrin's avatar Jérome Perrin

fix a typo making select_dict working by accident


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37292 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 913f2dd7
...@@ -453,8 +453,9 @@ class SimulationTool(BaseTool): ...@@ -453,8 +453,9 @@ class SimulationTool(BaseTool):
select_dict = new_kw.get('select_dict', dict()) select_dict = new_kw.get('select_dict', dict())
related_key_select_expression_list = new_kw.pop( related_key_select_expression_list = new_kw.pop(
'related_key_select_expression_list', []) 'related_key_select_expression_list', [])
if related_key_select_expression_list: for related_key_select in related_key_select_expression_list:
select_dict[x] = '%s_%s' % (table, x) select_dict[related_key_select] = '%s_%s' % (table,
related_key_select)
new_kw['select_dict'] = select_dict new_kw['select_dict'] = select_dict
# Column values # Column values
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment