From 6b85d617d32c2293cce4e3f37783e04d6c246d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 11 Oct 2016 06:33:20 +0000 Subject: [PATCH] fixup! Inventory API: drop default group by in getMovementHistoryList If we don't propagate movement_list_mode to catalog, this prevents catalog from raising an error about this unknown parameter. --- product/ERP5/Tool/SimulationTool.py | 1 - 1 file changed, 1 deletion(-) diff --git a/product/ERP5/Tool/SimulationTool.py b/product/ERP5/Tool/SimulationTool.py index 08615206f3..9ee1f75348 100644 --- a/product/ERP5/Tool/SimulationTool.py +++ b/product/ERP5/Tool/SimulationTool.py @@ -510,7 +510,6 @@ class SimulationTool(BaseTool): # Remove some internal parameters that does not have any meaning for # catalog new_kw.pop('ignore_group_by', None) - new_kw.pop('movement_list_mode', None) sql_kw.update(ctool.buildSQLQuery(**new_kw)) return sql_kw -- 2.30.9