f0d4240082
Not doing so leads to cases where a transaction is committed even after failing to validate a Python constraint. This patch attempts to keep the rollback() logic next to the corresponding commit(), and makes the rollback() more explicit even if close() without commit() would also rollback implicitly. bzr revid: odo@openerp.com-20140317163228-zqbce8f0rgcg0pt4 |
||
---|---|---|
.. | ||
addons | ||
cli | ||
conf | ||
modules | ||
osv | ||
report | ||
service | ||
tests | ||
tools | ||
workflow | ||
PKG-INFO | ||
__init__.py | ||
exceptions.py | ||
http.py | ||
import_xml.rng | ||
loglevels.py | ||
netsvc.py | ||
pooler.py | ||
release.py | ||
sql_db.py |