Fix typo in context variable

issue3860
review5231002
This commit is contained in:
Robin Baumgartner committed 2014-05-06 11:56:52 +02:00
1 parent 46e370a516
commit f7d380f9fd
1 file changed
+1 -1
+1 -1
View File
@@ -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],