[FIX] http: ensure to clean the request cursor before calling the route function.
authorChristophe Simonis <chs@openerp.com>
Tue, 11 Mar 2014 09:55:50 +0000 (10:55 +0100)
committerChristophe Simonis <chs@openerp.com>
Tue, 11 Mar 2014 09:55:50 +0000 (10:55 +0100)
commite634545617a4dfd6fde458f4427d9169f5c4bfe1
tree1cee0fbe01b994f939ad0113dbec30a60e646e72
parentf8bad6f81467658103a8ffc6d3f3eadd42b1f371
[FIX] http: ensure to clean the request cursor before calling the route function.

The route function can be call more than once in case of database error,
breaking the request cursor. By rollbacking it, we force the creation of a new transaction.

bzr revid: chs@openerp.com-20140311095550-lg3nvvjyojvgp2po
openerp/http.py