summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/menu.xml
diff options
context:
space:
mode:
authorJulien Castiaux <juc@odoo.com>2019-04-30 14:38:25 +0000
committerJulien Castiaux <juc@odoo.com>2019-05-06 12:47:04 +0000
commitda13c704845ff5b44b8d5075960287b57b8de14f (patch)
tree40ba0d8c540419363854154415c277e81405d429 /addons/web/static/src/xml/menu.xml
parentbaf3d39bf07af8f66d0a71acbaa48ae12fdb7392 (diff)
[FIX] google_account: error type on wrong request
Configure google to be synchronized with Odoo, create a contact with a wrong email address (I used `foo@.test.`), create an event in the calendar, add the contact as attendee, sync with google. Traceback. The traceback is a `request.exception.HTTPError` reraise by `_do_request` in the `google.service` model on several HTTP errors, 400 amoung them. The real error is "Invalid attendee email." but the information is lost in the error message. The error hanlding has been rethink so it raise a user friendly error via the UserError modal with just the error message sent by the Google API. The logged error has been rethink to pretty print both the request and the response. opw-1974295 closes odoo/odoo#33058 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/menu.xml')
0 files changed, 0 insertions, 0 deletions