odoo/openerp
Olivier Dony 485e437440 [FIX] orm: _validate should not immediately rollback
For some obscure reason _validate used to immediately
rollback the current transaction as soon as a constraint
failed anywhere. This is completely incorrect and
violates the transaction abstraction: the responsibility
of creating and closing transactions belongs to the
RPC dispatch layer, or whatever takes its place (e.g. the
test setup/teardown for tests). Rolling back or committing
in the middle of a transaction precludes special
error treatment and can have very bad side effects.

bzr revid: odo@openerp.com-20121029180742-2gw08kobdh7w5njc
2012-10-29 19:07:42 +01:00
..
addons [IMP] usability of menus by displaying their full hierarchy 2012-10-29 15:59:46 +01:00
conf [MERGE] sync with latest trunk 2011-09-28 23:13:26 +02:00
modules [IMP] no certificate 2012-09-26 14:15:36 +02:00
osv [FIX] orm: _validate should not immediately rollback 2012-10-29 19:07:42 +01:00
report [IMP] report: added TTF font path (used in e.g. Arch Linux). 2012-09-14 14:53:59 +02:00
service [MERGE] Sync with trunk 2012-10-03 18:18:07 +02:00
test [IMP] Added missing vim mode lines 2011-11-22 09:58:48 +01:00
tests [IMP] tests: added a whole-class setup/teardown base class to tests/common. 2012-10-29 15:23:02 +01:00
tools [FIX] yaml: more explicit error if !record has missing parameters 2012-10-29 18:34:21 +01:00
wizard [REF] additional cleanup after vmt's logging refactoring. 2012-02-08 15:22:48 +01:00
workflow [IMP] openerp.loglevels: removed calls to openerp.loglevels.Logger(). 2012-01-24 18:30:17 +01:00
.apidoc API doc: move settings file from bin/ to openerp/ 2011-06-23 12:08:07 +03:00
PKG-INFO [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
__init__.py [FIX] wsgi wrapper 2012-09-24 12:36:48 +02:00
cron.py [IMP] openerp.cron: _logger with fully qualified module name. 2012-01-24 12:07:30 +01:00
exceptions.py [FIX] xmlrpc: handle old/new exceptions with old/new clients. 2011-09-30 10:50:12 +02:00
import_xml.rng [IMP] rng: forbid redundant @type for menuitem, now inferred from the action type + minor cleanup 2012-08-22 16:49:46 +02:00
loglevels.py [FIX] Fix broken creation of database in previous commit - d'oh 2012-03-16 16:55:54 +01:00
netsvc.py [IMP] remove standalone web client, fix logging 2012-10-10 22:48:29 +02:00
pooler.py [IMP] registry: whene deleting a registry, also delete its cache and cron. 2011-07-13 17:35:21 +02:00
release.py [MERGE] base: fix some address formats and some English 2012-09-11 17:07:24 +02:00
run_tests.py [IMP] Added missing vim mode lines 2011-11-22 09:58:48 +01:00
sql_db.py [FIX] res_users.login: fix query parameters in cr.execute 2012-10-15 12:01:48 +02:00