diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index d485d58443d..1b2490b9ae8 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1719,6 +1719,6 @@ class Reports(http.Controller): ('Content-Disposition', content_disposition(file_name)), ('Content-Type', report_mimetype), ('Content-Length', len(report))], - cookies={'fileToken': int(token)}) + cookies={'fileToken': token}) # vim:expandtab:tabstop=4:softtabstop=4:shiftwidth=4: