Use forecast for quantity by warehouse to include today moves

review718002
(transplanted from 8815f197539c100e6efb8f20ddf5611d66ad1433)
This commit is contained in:
Cédric Krier committed 2013-03-21 19:19:52 +01:00
1 parent 7ffa8380da
commit 86985cbbc8
1 file changed
+1
+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(