diff --git a/location.py b/location.py
index f0df4b1313..febf17ccc5 100644
--- a/location.py
+++ b/location.py
@@ -141,7 +141,7 @@ Party()
class ChooseForecatsDateInit(WizardOSV):
- _name = 'stock.choose_forecast_date.init'
+ _name = 'stock.location_forecast_date.init'
forecast_date = fields.Date(
'Forecast Date', help='Allow to compute expected '\
'stock quantities for this date.\n'\
@@ -157,7 +157,7 @@ class OpenProduct(Wizard):
'init': {
'result': {
'type': 'form',
- 'object': 'stock.choose_forecast_date.init',
+ 'object': 'stock.location_forecast_date.init',
'state': [
('end', 'Cancel', 'tryton-cancel'),
('open', 'Open', 'tryton-ok', True),
diff --git a/location.xml b/location.xml
index 5fa07f6c31..215c81cc87 100644
--- a/location.xml
+++ b/location.xml
@@ -169,6 +169,19 @@
lost_found
+
+ stock.product_forecast_date.init
+ form
+
+
+
+
+
+ ]]>
+
+
+
supplier_location
- form_action
+ form_relate
product.product,0