summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDebauche Stéphane <std@odoo.com>2019-12-02 15:11:05 +0000
committerThibault Delavallée <tde@odoo.com>2019-12-20 12:24:43 +0000
commit01dadaecca4577f7000fb8454bb65f42f1a3af7c (patch)
tree5cb386f6e55f4854dfe9b4c4c5ce9e6c75686d57 /addons/web/static/src/js/views/basic/basic_controller.js
parent7b0df05706ef83ea84badec60527e76015a05fb4 (diff)
[IMP] website_slides: improve error message when google API key is invalid
Currently when there is an issue with the google API key, a generic message is send to the user, with the error details embedded in it in an ugly way. Now a message is displayed: "Your Google API key is invalid, please update it into your settings. Settings > Website > Features > API Key". This is done by parsing the JSON google sends back after request and determining if the error is linked to the API key. Task #2082857 closes odoo/odoo#40547 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions