diff options
| author | amoyaux <arm@odoo.com> | 2017-08-11 08:40:06 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2019-07-29 12:49:26 +0000 |
| commit | af3f6e596df6a558de8b465019028ff8cc2d7439 (patch) | |
| tree | 9b33e31707719112f805d789b8cf09511983df60 /addons | |
| parent | a94b00e4988a40f31be5eabedaf2bdd7ae5ac418 (diff) | |
[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 <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/stock/data/web_planner_data.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/stock/data/web_planner_data.xml b/addons/stock/data/web_planner_data.xml index cdde8a2e898..f5d8153f83f 100644 --- a/addons/stock/data/web_planner_data.xml +++ b/addons/stock/data/web_planner_data.xml @@ -226,7 +226,7 @@ </p> <ul> <li>Download the <a href="/base_import/static/csv/products.xls">Excel template</a></li> - <li>Import using the top left button in <a t-att-href="prepare_backend_url('product.product_template_action_product','list')">the list of products</a></li> + <li>Import using the top left button in <a t-att-href="prepare_backend_url('stock.product_template_action_product','list')">the list of products</a></li> </ul> </div> </div> @@ -375,7 +375,7 @@ running out of stock. </p> <p> - To create them, click on <strong><span class="fa fa-refresh"/> Reordering</strong> on <a t-att-href="prepare_backend_url('product.product_template_action_product')">a stockable Product</a> and simply enter a minimum and maximum quantity. + To create them, click on <strong><span class="fa fa-refresh"/> Reordering</strong> on <a t-att-href="prepare_backend_url('stock.product_template_action_product')">a stockable Product</a> and simply enter a minimum and maximum quantity. </p> </t> |
