odoo/openerp
Cedric Snauwaert 4de3f4c4ba [FIX] expression: fix search for o2m with non existing id
The result of searching on a o2m field for a missing ID was
the whole set of records which do not have any lines in the
o2m fields. This is definitely not the desired behavior,
and could lead to disatrous performance, because the
returned set could be extremely large.

One example of such behavior is for recomputing fields
in the env cache in 8.0+. When a o2m line gets deleted,
it triggers the recompute of any dependent fields.

In order to locate the records to recompute, the ORM
searches for the 'parent' records in the comodel table.
When this operation is done by 2 users concurrently
the o2m line may not exist anymore, and the bug
is triggered: dependent fields are recomputed on a possibly
very large set of records that did not need any recompute!
2016-02-04 17:10:08 +01:00
..
addons [FIX] expression: fix search for o2m with non existing id 2016-02-04 17:10:08 +01:00
cli [FIX] When using "--stop-after-init", set the return code correctly. A non zero return code reflect the number of databases that fail to load/update 2014-10-24 16:24:50 +02:00
conf cron cleanup, back to the Kernighan KISS roots 1min poll time, rely only on database, multiprocess/multiserver ready. 2012-12-09 18:04:47 +01:00
modules [FIX] loading: always process auto-installed modules for new databases 2014-09-17 15:11:01 +02:00
osv [FIX] expression: fix search for o2m with non existing id 2016-02-04 17:10:08 +01:00
report [FIX] account, mail, etc.: uniformize evaluated expressions 2015-05-21 16:07:21 +02:00
service [FIX] res.users: remove check_super duplication 2015-09-07 11:07:43 +02:00
tests [IMP] Prevent unclosed cursor during tests 2015-09-17 12:23:09 +02:00
tools [FIX] tools.misc: log errors when parsing fails 2016-02-03 02:25:09 +01:00
workflow [FIX] workflow: don't process workitem several times 2015-10-14 17:37:13 +02: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] timezone: under windows os.environ["TZ"] was not affecting the server, 2013-03-07 13:16:37 +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] incorrect docstrings or docstring param names not matching actual param names 2012-12-14 14:07:58 +01:00
netsvc.py [FIX] server: backport of 3940a096 on psutil 2015-06-29 16:09:42 +02:00
pooler.py [IMP] cron: remove useless pooljobs and schedule_cron_jobs methods 2012-12-21 14:37:51 +01:00
release.py [FIX] we are not in alpha anymore 2013-01-03 18:08:09 +01:00
sql_db.py [FIX] orm: ordering on >1000 records 2015-04-22 12:14:33 +02:00