Backed out changeset 6b666477652f until a correct fix

This commit is contained in:
Cédric Krier committed 2013-04-29 21:33:40 +02:00
1 parent 08a2d28926
commit a910c15376
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ class ShipmentInternal(ModelSQL, ModelView):
id2product[op.product.id] = op.product
location_ids.append(op.storage_location.id)
with Transaction().set_context(forecast=True, stock_date_end=today):
with Transaction().set_context(stock_date_end=today):
pbl = Product.products_by_location(location_ids,
list(id2product.iterkeys()), with_childs=True)