From d42d50df57d2ab376816bf77bcd9370d4b740887 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Mon, 15 Jul 2013 14:26:48 +0200 Subject: [PATCH] [FIX] problem with werkzeug 0.9.1 that crashes when we generate a report bzr revid: nicolas.vanhoren@openerp.com-20130715122648-a926d3tov4efbyrk --- addons/web/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: