From f7d380f9fdfbdca10a194e95aecdbc6b7ab5f107 Mon Sep 17 00:00:00 2001 From: Robin Baumgartner Date: Tue, 6 May 2014 11:56:52 +0200 Subject: [PATCH] Fix typo in context variable issue3860 review5231002 --- forecast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forecast.py b/forecast.py index 6682ffa7fe..8f785422fe 100644 --- a/forecast.py +++ b/forecast.py @@ -545,7 +545,7 @@ class ForecastComplete(Wizard): self.raise_user_error('from_to_date') with Transaction().set_context( - stock_destination=[forecast.destination.id], + stock_destinations=[forecast.destination.id], stock_date_start=self.ask.from_date, stock_date_end=self.ask.to_date): return Product.products_by_location([forecast.warehouse.id],