From 9ddcaae99bfba8e835df193591a1dfe8aa7f9dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 28 Feb 2018 18:26:46 +0100 Subject: [PATCH] Replace product_ids by grouping_filter issue7141 review41121002 --- tests/test_stock_lot_sled.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_stock_lot_sled.py b/tests/test_stock_lot_sled.py index dddd9ec766..8e1fcf1904 100644 --- a/tests/test_stock_lot_sled.py +++ b/tests/test_stock_lot_sled.py @@ -92,7 +92,7 @@ class StockLotSLEDTestCase(ModuleTestCase): with Transaction().set_context(context=context, locations=[storage.id]): quantity = Product.products_by_location( - [storage.id], [product.id]) + [storage.id], grouping_filter=([product.id],)) self.assertEqual(quantity, result, msg='context: %s' % repr(context))