diff --git a/openerp/http.py b/openerp/http.py index 35c7a3bd040..5b49b8f22da 100644 --- a/openerp/http.py +++ b/openerp/http.py @@ -67,6 +67,8 @@ def redirect_with_hash(url, code=303): # redirect. And even if IE10 pretends to support it, it still fails # inexplicably in case of multiple redirects (and we do have some). # See extensive test page at http://greenbytes.de/tech/tc/httpredirects/ + if request.httprequest.user_agent.browser in ('firefox',): + return werkzeug.utils.redirect(url, code) return "" % url