From a910c15376e6dec6bf83d3958d0134a87380df0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 29 Apr 2013 21:33:40 +0200 Subject: [PATCH] Backed out changeset 6b666477652f until a correct fix --- shipment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shipment.py b/shipment.py index 6a4f0bdca1..c21553f32f 100644 --- a/shipment.py +++ b/shipment.py @@ -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)