diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 18a9d55e601..4afeb1a70ce 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -520,7 +520,7 @@ class WebClient(http.Controller): headers = [('Content-Type', 'application/javascript'), ('Cache-Control', 'max-age=%s' % (36000))] return request.make_response(momentjs_locale, headers) - @http.route('/web/webclient/qweb', type='http', auth="none") + @http.route('/web/webclient/qweb', type='http', auth="none", cors="*") def qweb(self, mods=None, db=None): files = [f[0] for f in manifest_glob('qweb', addons=mods, db=db)] last_modified = get_last_modified(files)