Replace product_ids by grouping_filter
issue7141 review41121002
This commit is contained in:
1 parent
cd0c767df1
commit
9ddcaae99b
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
|
||||
Reference in new issue
Block a user