Skip to content
Snippets Groups Projects
Commit 74284640 authored by Raphael Collet's avatar Raphael Collet
Browse files

[FIX] openerp/osv/fields: disable prefetching when reading inverse of one2many fields

This fixes issue #2146.  The inverse of a one2many field can be an inherited
field (_inherits).  In that case, we cannot read its value with a simple
database query.  Instead, we let the related field read it, but for performance
considerations we disable the prefetching of other fields.
parent bfb29230
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment