diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2020-03-09 16:08:25 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2020-03-13 13:25:06 +0000 |
| commit | 8a3c39e1d15df30600aa43d0ad669d3e7496bdd2 (patch) | |
| tree | 6a65e5c5bb67ac6d4d994e8ee6fa08b34e075b89 /addons/website | |
| parent | b7b2475cc221e49bb4ad1e5458361f904d7a89fe (diff) | |
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) <nle@odoo.com>
Diffstat (limited to 'addons/website')
| -rw-r--r-- | addons/website/i18n/website.pot | 5 | ||||
| -rw-r--r-- | addons/website/views/res_config_settings_views.xml | 5 |
2 files changed, 10 insertions, 0 deletions
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 @@ -2455,6 +2455,11 @@ 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" msgstr "" 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 @@ <i class="fa fa-arrow-right"/> Create a Google Project and Get a Key </a> + <a role="button" class="btn-link" target="_blank" + href="https://cloud.google.com/maps-platform/pricing"> + <i class="fa fa-arrow-right"/> + Enable billing on your Google Project + </a> </div> </div> </div> |
