Commit 4092e9b4 authored by Jérome Perrin's avatar Jérome Perrin

revert 15523, because sometimes "stock" is passed as query_table


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15624 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 41131eea
...@@ -624,7 +624,7 @@ class SimulationTool(BaseTool): ...@@ -624,7 +624,7 @@ class SimulationTool(BaseTool):
group_by_expression_list.append('%s.resource_uid' % table) group_by_expression_list.append('%s.resource_uid' % table)
new_kw['group_by_expression'] = ', '.join(group_by_expression_list) new_kw['group_by_expression'] = ', '.join(group_by_expression_list)
sql_kw.update(self.portal_catalog.buildSQLQuery(query_table=table, **new_kw)) sql_kw.update(self.portal_catalog.buildSQLQuery(**new_kw))
return sql_kw return sql_kw
####################################################### #######################################################
......
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