From 8a3c39e1d15df30600aa43d0ad669d3e7496bdd2 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Mon, 9 Mar 2020 16:08:25 +0000 Subject: [PATCH] FIX] website: link enable google maps required billing Since 11 June 2018, enabling Billing on your Google Project used for showing static maps is required. So you would follow the only direction of Odoo "Create a Google Project and Get a Key" and nothing would work since you still need to enable billing. With this changeset, we add a link to the Google page explaining maps billing costs, current free usage tier and so on. And on this page the "Get started" button will enable billing if needed. There is another page with deeper explanation but it is very technical and currently only available in english: https://developers.google.com/maps/gmp-get-started note: also improve text of has_google_maps option opw-2210346 closes #47227 closes odoo/odoo#47599 X-original-commit: 6035bba8b679620dcbfc7ba620aafa13009ff616 Signed-off-by: Nicolas Lempereur (nle) --- addons/website/i18n/website.pot | 5 +++++ addons/website/views/res_config_settings_views.xml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/addons/website/i18n/website.pot b/addons/website/i18n/website.pot index 2555c697318..25d38d57921 100644 --- a/addons/website/i18n/website.pot +++ b/addons/website/i18n/website.pot @@ -2454,6 +2454,11 @@ msgstr "" msgid "Email support" msgstr "" +#. module: website +#: model_terms:ir.ui.view,arch_db:website.res_config_settings_view_form +msgid "Enable billing on your Google Project" +msgstr "" + #. module: website #: model_terms:ir.ui.view,arch_db:website.snippet_options msgid "Equal height" diff --git a/addons/website/views/res_config_settings_views.xml b/addons/website/views/res_config_settings_views.xml index 870eb8cd59e..a3efb53dec2 100644 --- a/addons/website/views/res_config_settings_views.xml +++ b/addons/website/views/res_config_settings_views.xml @@ -242,6 +242,11 @@ Create a Google Project and Get a Key + + + Enable billing on your Google Project +