From 024569fe4cf1ed2763e2746f4cf059e305bc58c4 Mon Sep 17 00:00:00 2001 From: Renaud Thiry Date: Wed, 30 Nov 2022 13:07:10 +0000 Subject: [PATCH] [FIX] event: Remove broken google maps api link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: This is not fixed earlier because this in invalidates template translations and this isn't a major issue. Invalidating translations on 16.0 should still be fine as of writing this. Issue: Google recently added a requirement for an API key to their static maps API. This means we can no longer generate tags linking to the google API without using a key. As we send that key inside emails, it cannot be protected by origin policies to prevent people from using the key outside of the domain of the database. Protecting it would require implementing signed google API requests, which cannot be done both quickly and sanely on stable. Fix: This commit replaces the image with a generic string to get rid of the 'missing image' icon. A better fix/imp may be introduced on the master branch at a later time. task - 3079113 closes odoo/odoo#109797 X-original-commit: a730c9920bc82a6637882f325ca3d947ca0ddd78 Signed-off-by: Stéphane Debauche (std) --- addons/event/data/mail_template_data.xml | 8 +++++--- addons/event/i18n/event.pot | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/addons/event/data/mail_template_data.xml b/addons/event/data/mail_template_data.xml index 7d48de97c2f..1d5de71bdec 100644 --- a/addons/event/data/mail_template_data.xml +++ b/addons/event/data/mail_template_data.xml @@ -221,11 +221,12 @@ - +
@@ -445,8 +446,9 @@
diff --git a/addons/event/i18n/event.pot b/addons/event/i18n/event.pot index a615e35cf14..f7546a6735e 100644 --- a/addons/event/i18n/event.pot +++ b/addons/event/i18n/event.pot @@ -476,10 +476,11 @@ msgid "" "\n" " \n" " \n" -"
\n" +"
\n" " \n" "
\n" @@ -696,8 +697,9 @@ msgid "" " \n" "
\n" " \n" "
\n"