FIX get quantity from all products

This commit is contained in:
resteve 2015-02-10 09:12:27 +01:00
parent 2481dc8cc6
commit 76c7e18833

View file

@ -54,7 +54,7 @@ class Sale:
# get quantity
with Transaction().set_context(locations=locations):
quantities = Product.get_quantity(
[line.product],
products,
cls.get_enough_stock_qty(),
)