Xavier Morel 785018cc9c [FIX] only prefetch other cached records with read field uncached during _read_from_database
If expansion of the recordset is done during _prefetch_field, if one of the
prefetches (not the base record(s) but one of those selected by
BaseModel._in_cache_without) can't be read by the current user (due to an
access rule or for field reading reasons, or whatever) the whole read is
failed, even if the record which was specifically asked for could be read on
its own.

By only expanding the read set in _read_from_database, the cache is correctly
set but read() and _prefetch_field() only check the records explicitly asked
for for AccessDenied, prefetched records will only be asked if they are ever
accessed.

fixes #1013
2014-07-11 13:54:01 +02:00
2014-07-06 17:05:41 +02:00
2014-06-24 09:44:11 +02:00
2014-05-15 10:43:02 +02:00
2014-06-23 12:50:57 +02:00
2014-06-30 11:22:22 +02:00
2014-06-23 12:50:57 +02:00
2014-07-06 17:05:41 +02:00

Build Status

Odoo

Odoo is a suite of web based open source business apps. More info at http://www.odoo.com

The easiest way to play with it is the Odoo free trial, email registration is NOT required, use the "skip this step" link on the registration page to skip it.

Getting started with Odoo development

If you are a developer type the following command at your terminal [1]:

wget -O- https://raw.githubusercontent.com/odoo/odoo/master/odoo.py | python

Then follow the developer tutorial

[1] You may want to check the content of the odoo.py file before executing it.

Packages, tarballs and installers

  • Debian packages

    Add this apt repository to your /etc/apt/sources.list file

      deb http://nightly.openerp.com/8.0/deb/ ./
    

    Then type:

      $ sudo apt-get update
      $ sudo apt-get install odoo
    
  • Source tarballs

  • Windows installer

  • RPM package

For Odoo employees

To add the odoo-dev remote use this command:

$ ./odoo.py setup_git_dev

To fetch odoo merge pull requests refs use this command:

$ ./odoo.py setup_git_review
S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%