[WIP] rev me
bzr revid: chm@openerp.com-20140318153525-uhimflitcgk16rlk
This commit is contained in:
parent
bbca8bd17e
commit
c0a97887b4
|
@ -216,6 +216,9 @@ class WebRequest(object):
|
|||
# The decorator can call us more than once if there is an database error. In this
|
||||
# case, the request cursor is unusable. Rollback transaction to create a new one.
|
||||
if self._cr:
|
||||
print ""
|
||||
print "rollback http.py checked_call"
|
||||
print ""
|
||||
self._cr.rollback()
|
||||
return self.endpoint(*a, **kw)
|
||||
|
||||
|
|
Loading…
Reference in New Issue