From 47a3d4c49a574a80d236635eedc65d5dae7e5e22 Mon Sep 17 00:00:00 2001 From: "Matheus Leal Viana (malv)" Date: Tue, 1 Aug 2023 13:21:58 +0000 Subject: [PATCH] [FIX] website_crm_partner_assign: fixing broken urls in mail template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue: ------------------- In the lead forward mail template, there are some broken links, when we click on those links they are appended to the current url and redirect to a non-expected page. Steps to reproduce: ------------------- 1. Go to CRM -> Create a new opportunity 2. Click on this new opportunity -> Assigned Partner 3. Select an assigned partner and click “Send Email” 4. Go to Settings -> Technical -> Emails 5. When clicking on “Partner Portal” it redirects to a non-existing page Cause: ------------------- The issue is happening because the urls are badly formatted and not using the correct tags OPW-3074049 closes odoo/odoo#139267 X-original-commit: 55cd29c5f2cb7787752d77103dbcc4c4007ff504 Signed-off-by: Nicolas Lempereur (nle) --- .../website_crm_partner_assign/data/mail_template_data.xml | 6 +++--- .../i18n/website_crm_partner_assign.pot | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/website_crm_partner_assign/data/mail_template_data.xml b/addons/website_crm_partner_assign/data/mail_template_data.xml index 14da8105145..50f92e55980 100644 --- a/addons/website_crm_partner_assign/data/mail_template_data.xml +++ b/addons/website_crm_partner_assign/data/mail_template_data.xml @@ -41,7 +41,7 @@
  • Subject Undefined, Contact Name Undefined, Country Undefined, Email Undefined, +1 650-123-4567

  • - Please connect to your Partner Portal to get details. On each lead are two buttons on the top left corner that you should press after having contacted the lead: "I'm interested" & "I'm not interested".
    + Please connect to your Partner Portal to get details. On each lead are two buttons on the top left corner that you should press after having contacted the lead: "I'm interested" & "I'm not interested".
    You do not have yet a portal access to our database. Please contact @@ -75,9 +75,9 @@ +1 650-123-4567 | - info@yourcompany.com + info@yourcompany.com | - http://www.example.com + http://www.example.com diff --git a/addons/website_crm_partner_assign/i18n/website_crm_partner_assign.pot b/addons/website_crm_partner_assign/i18n/website_crm_partner_assign.pot index e724de600d3..2dbb4bcc170 100644 --- a/addons/website_crm_partner_assign/i18n/website_crm_partner_assign.pot +++ b/addons/website_crm_partner_assign/i18n/website_crm_partner_assign.pot @@ -250,7 +250,7 @@ msgid "" "
  • Subject Undefined, Contact Name Undefined, Country Undefined, Email Undefined, +1 650-123-4567

  • \n" " \n" " \n" -" Please connect to your Partner Portal to get details. On each lead are two buttons on the top left corner that you should press after having contacted the lead: \"I'm interested\" & \"I'm not interested\".
    \n" +" Please connect to your Partner Portal to get details. On each lead are two buttons on the top left corner that you should press after having contacted the lead: \"I'm interested\" & \"I'm not interested\".
    \n" "
    \n" " \n" " You do not have yet a portal access to our database. Please contact\n" @@ -284,9 +284,9 @@ msgid "" " \n" " +1 650-123-4567\n" " |\n" -" info@yourcompany.com\n" +" info@yourcompany.com\n" " |\n" -" http://www.example.com\n" +" http://www.example.com\n" " \n" " \n" " \n"