In case you have a controller website=True without website installed, the request.redirect() use url_for which one uses request.website_routing on the request, without that it has been set by the website dispatcher. closes odoo/odoo#38191 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>