diff options
| author | Florimond Husquinet (fhu) <fhu@odoo.com> | 2020-02-03 09:40:06 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2020-08-21 14:47:37 +0000 |
| commit | c317232223460ba659feb27e9d48a60d3f5ffc25 (patch) | |
| tree | 40a3cef0d2174789d4219d0666ba2a1e01be2bb4 /odoo/http.py | |
| parent | 0263acee7f355e7367686a461c21f28ea34cfa9a (diff) | |
[ADD] mail_client_extension
This module provide routes to manage people, companies, and
leads from the outlook add-on. It could eventually be accessed by
add-ons for other mail clients.
closes odoo/odoo#44936
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'odoo/http.py')
| -rw-r--r-- | odoo/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/http.py b/odoo/http.py index 3ffdd0c7b64..7006d6313b9 100644 --- a/odoo/http.py +++ b/odoo/http.py @@ -761,7 +761,7 @@ class HttpRequest(WebRequest): if self._is_cors_preflight(request.endpoint): headers = { 'Access-Control-Max-Age': 60 * 60 * 24, - 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept' + 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept, Authorization' } return Response(status=200, headers=headers) |
