summaryrefslogtreecommitdiff
path: root/doc/_extensions/github_link.py
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2019-01-11 09:58:53 +0000
committerRaphael Collet <rco@odoo.com>2019-01-11 11:01:22 +0000
commit1b434ed8c3f1d7dfaf688f7fc634060147313638 (patch)
tree0efd69fdaa48f9a68e87cd6c564b428c9a0cfea8 /doc/_extensions/github_link.py
parente2bdb65321264322cd94ffa460f0856ca19b5f12 (diff)
[FIX] models: make prefetching more specific in read()
Commit a07a076c45fc4b83caa9ab30ca919b30016015a7 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. closes odoo/odoo#30133
Diffstat (limited to 'doc/_extensions/github_link.py')
0 files changed, 0 insertions, 0 deletions