odoo/odoo — pull request #2290 by mart-e (2014-09-09 13:33:00+00:00)
Title: 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.