Use forecast for quantity by warehouse to include today moves

review718002
This commit is contained in:
Cédric Krier
2013-03-21 19:19:52 +01:00
parent 65cfc60c14
commit 388aed5112
+1
View File
@@ -662,6 +662,7 @@ class ProductQuantitiesByWarehouse(ModelSQL, ModelView):
context = {
'stock_date_start': date_start,
'stock_date_end': date,
'forecast': True,
}
with Transaction().set_context(**context):
quantities[date] = Product.products_by_location(