diff --git a/product_limit.py b/product_limit.py index 3ab669d..a0d6421 100644 --- a/product_limit.py +++ b/product_limit.py @@ -85,7 +85,7 @@ class ProductLimit(ModelSQL, ModelView): product_ids = [l.product.id for l in products_with_limit] products = Product.browse(product_ids) with Transaction().set_context(context): - products = Product.get_quantity(products, 'forecast_quantity') + products = Product.get_quantity(products, 'quantity') p_forecast = {k: value for k, value in products.items() if value}