summaryrefslogtreecommitdiff
path: root/addons/l10n_pl/data
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-03-27 12:54:43 +0000
committerNans Lefebvre <len@odoo.com>2019-03-29 11:33:00 +0000
commit6b9b9d8997d71908f44fe605b69a94ad03d4f916 (patch)
tree25d0c9dac2a46cd65c8921c63944261bda800a05 /addons/l10n_pl/data
parent14a8148e8dc6a599ec1ff1e31d3fd3a64d57a415 (diff)
[FIX] base_geolocalize: raise a helpful error to configure the Google account
Google maps used to be free, but became a paid API. Technically, the usage could be part of the free offer, but to benefit from it the account needs to have billing enabled. Since it's a paid feature security had to be ramped up, so now APIs have to be explicitly enabled (here geolocating/geocoding). All this makes it so that the Google account has to be properly configured before the calls to the Maps API can work. As a result we add an explicit UserError if the request fails, to help the user configure the Google account (before the error was entirely hidden as to give the user no chance at all). Also exports transaltions, including for commit e6ca846c65bd which raised a similar error message if no API key was found. opw 1946485 opw 1947292 opw 1947337 closes odoo/odoo#32162 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/l10n_pl/data')
0 files changed, 0 insertions, 0 deletions