Commit 371c8406 authored by Vincent Pelletier's avatar Vincent Pelletier

SimulationTool: Reduce reliance on AutoQuery.

parent c1fbc83a
......@@ -278,7 +278,7 @@ class SimulationTool(BaseTool):
if strict_simulation_state:
if isinstance(simulation_state, string_or_list)\
and simulation_state:
simulation_query = Query(
simulation_query = SimpleQuery(
**{'stock.simulation_state': simulation_state})
else:
# first, we evaluate simulation_state
......
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