[Erp5-report] r14182 - /erp5/trunk/products/ERP5/Tool/SimulationTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Apr 24 08:43:41 CEST 2007
Author: seb
Date: Tue Apr 24 08:43:39 2007
New Revision: 14182
URL: http://svn.erp5.org?rev=14182&view=rev
Log:
this was a bad idea to use a group by by default
Modified:
erp5/trunk/products/ERP5/Tool/SimulationTool.py
Modified: erp5/trunk/products/ERP5/Tool/SimulationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/SimulationTool.py?rev=14182&r1=14181&r2=14182&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/SimulationTool.py (original)
+++ erp5/trunk/products/ERP5/Tool/SimulationTool.py Tue Apr 24 08:43:39 2007
@@ -260,7 +260,6 @@
sql_kw['output_simulation_state'] = output_simulation_state
# XXX In this case, we must not set sql_kw[input_simumlation_state] before
input_simulation_state = None
- simulation_query = None
output_simulation_state = None
if sql_kw.has_key('input_simulation_state'):
input_simulation_state = sql_kw.get('input_simulation_state')
@@ -1195,7 +1194,6 @@
delivered for the last time before at_date or to_date". Cannot be used with input
"""
- kw = self._getDefaultGroupByParameters(**kw)
new_kw = self._generateSQLKeywordDict(table='item',strict_simulation_state=strict_simulation_state,**kw)
at_date = kw.get('at_date',None)
if at_date is not None:
More information about the Erp5-report
mailing list