Commit 1509b7ff authored by Jérome Perrin's avatar Jérome Perrin

inventory api: dirty way of disabling cache if keys such as node_category are used.

parent 84a422e7
......@@ -1336,6 +1336,7 @@ class SimulationTool(BaseTool):
if getattr(self, "Resource_zGetInventoryCacheResult", None) is not None and \
optimisation__ and (not kw.get('from_date')) and \
'transformed_resource' not in kw \
and "category" not in str(kw) \
and "group_by_time_sequence_list" not in kw:
# Here is the different kind of date
# from_date : >=
......
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