[FIX] http Internal Server Error when switching branches
authorAntony Lesuisse <al@openerp.com>
Tue, 29 Apr 2014 23:22:13 +0000 (01:22 +0200)
committerAntony Lesuisse <al@openerp.com>
Tue, 29 Apr 2014 23:22:13 +0000 (01:22 +0200)
commitc9873fb0b49024485c57fc48fde341d4602076a1
treef217de38718502a9d28828fcb5f9565f0179073b
parentf38387820dc4d0fa22ff3eb2a63ffc16222244db
[FIX] http Internal Server Error when switching branches
When the source code doesnt match ir.models of the current session database,
openerp is unable to build a registry, we now clear the session instead of
issuing an http 500 error.

bzr revid: al@openerp.com-20140429232213-omao31x6fdxwg2ov
openerp/http.py