-
- Downloads
[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 e6ca846c 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>
Please register or sign in to comment