Commit 2765ddba authored by Vincent Pelletier's avatar Vincent Pelletier

Do not pass at_date to ZSQLQuery, because it passes an unformated date to the...

Do not pass at_date to ZSQLQuery, because it passes an unformated date to the catalog, while the date is already handled by _generateSQLKeywordDict.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13903 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b5de1c0a
......@@ -1059,7 +1059,6 @@ class SimulationTool(BaseTool):
"""
new_kw = self._generateSQLKeywordDict(table='item',strict_simulation_state=strict_simulation_state,**kw)
new_kw['at_date'] = kw.get('at_date')
# Extra parameters for the SQL Method
new_kw['join_on_item'] = new_kw.get('at_date') or \
......
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