Commit 5289682d authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Eteri

SimulationTool: Reduce reliance on AutoQuery.

parent 6bc10988
......@@ -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