ensure_db() If the request.session.db is different than the computed db abort and redirect in order to properly dispatch on computed db bzr revid: fme@openerp.com-20140227164018-iukowle122spr2c5