Please sign in to comment.
[FIX] models: make prefetching more specific in read()
Commit a07a076 restricts the prefetching to `self` when accessing the fields to return. This is too restrictive, as it cancels prefetching of secondary records in computed fields. In this commit we limit the scope of the restriction to `self`'s model only; this fixes the original issue without impacting other models.
- Loading branch information...