summaryrefslogtreecommitdiff
path: root/addons/sale_quotation_builder
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-09-02 11:48:57 +0000
committerRomain Derie <rde@odoo.com>2019-10-02 07:13:27 +0000
commitae6db1a5f410f66fb7fb8521ae09e2429d2b18bf (patch)
treeeb7d6ba72a34ed14249e83cc08f6b7e5bf3e1442 /addons/sale_quotation_builder
parent9b38bcec1269f0e72606e774f5e1f5f4a78baa89 (diff)
[REM] account, project, sale, *: remove dead code 'return_label'
Since Odoo 9.0, the `return_label` in url was not working anymore. What it did before 9.0 is add an item in the breadcrumb which once clicked would redirect to the frontend. This was handled in the `do_load_state` of the action manager in JS. We don't need to reimplement that behavior as now we have the 'Go to website' stat button. Thus we remove the code. Closes #36325 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/sale_quotation_builder')
-rw-r--r--addons/sale_quotation_builder/views/sale_portal_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale_quotation_builder/views/sale_portal_templates.xml b/addons/sale_quotation_builder/views/sale_portal_templates.xml
index 4c5b2f6dc95..fe8b0056d10 100644
--- a/addons/sale_quotation_builder/views/sale_portal_templates.xml
+++ b/addons/sale_quotation_builder/views/sale_portal_templates.xml
@@ -27,7 +27,7 @@
<body>
<t t-set="o_portal_fullwidth_alert">
<t t-call="portal.portal_back_in_edit_mode">
- <t t-set="backend_url" t-value="'/web#return_label=Website&amp;model=%s&amp;id=%s&amp;action=%s&amp;view_type=form' % (template._name, template.id, request.env.ref('sale_management.sale_order_template_action').id)"/>
+ <t t-set="backend_url" t-value="'/web#model=%s&amp;id=%s&amp;action=%s&amp;view_type=form' % (template._name, template.id, request.env.ref('sale_management.sale_order_template_action').id)"/>
<t t-set="custom_html">This is a preview of the sale order template.</t>
</t>
</t>