diff options
| author | Olivier Dony <odo@openerp.com> | 2012-11-12 09:34:20 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2012-11-12 09:34:20 +0100 |
| commit | 04a53fa3ccd8f85f5fc7c8b8ae3022478b572438 (patch) | |
| tree | 886578e5757e945501261ef2ddc307deb64d0d7e /addons/web/static/src/xml/base.xml | |
| parent | 0074bc4b3d8b1fc9d80f7a76f8f5412818de4e7c (diff) | |
| parent | fd6946f24abffec10aa470c7afd4ca09108536d5 (diff) | |
[MERGE] orm: make error handling more consistent when accessing deleted/filtered records
Previous behavior was unspecified and untested - leading to random results
when performing operations on a mix of deleted and ir.rule-filtered records.
The behavior is now clarified and explicitly tested.
One suprising case remains: read() on a deleted record
returns an empty result instead of raising an error,
in order to avoid spurious errors when a client
performs a sequence of search(), read() while
another user is deleting records, due to the
non-transactional nature of this sequence of calls.
bzr revid: odo@openerp.com-20121112083420-t8zl7hqk3bwffcl0
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
