From af3f6e596df6a558de8b465019028ff8cc2d7439 Mon Sep 17 00:00:00 2001
From: amoyaux
Date: Fri, 11 Aug 2017 08:40:06 +0000
Subject: [PATCH] [FIX] stock : webplanner link to product does not work.
In the planner the url are generated by prepare_backend_url that takes
an action's xml id as argument. The id passed should have the format
'module_name_where_the_action_is.action_name'. In this case the id passed
was product.product_template_action_product but the action is defined in
stock thus the prepare_backend_url was not able to find the associate action
and return a wrong(default) url.
This commit change the action id passed with the correct module.
closes odoo/odoo#18812
Signed-off-by: Arnold Moyaux
---
addons/stock/data/web_planner_data.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/addons/stock/data/web_planner_data.xml b/addons/stock/data/web_planner_data.xml
index cdde8a2e89864..f5d8153f83f01 100644
--- a/addons/stock/data/web_planner_data.xml
+++ b/addons/stock/data/web_planner_data.xml
@@ -226,7 +226,7 @@
@@ -375,7 +375,7 @@
running out of stock.
- To create them, click on Reordering on a stockable Product and simply enter a minimum and maximum quantity.
+ To create them, click on Reordering on a stockable Product and simply enter a minimum and maximum quantity.