diff options
| author | Jeremy Kersten <jke@odoo.com> | 2020-04-23 13:14:39 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2020-04-27 13:49:01 +0000 |
| commit | 8e150d871e60ca6a011a65ed45070d6778e6c276 (patch) | |
| tree | d512d5731dc35d44b694afe738c91da3d35bcefa /addons/website/static/src/xml/website.contentMenu.xml | |
| parent | 8e081ec61fa305d224853ef588043373284271b7 (diff) | |
[IMP] website_blog: perf - store related website_id
Without this commit, a simple search like:
`env['blog.tag'].search([('website_id', 'in', (1, False))])`
would generate 4 SQL queries instead of 1.
3 requests would be done on `blog.blog`, see `right_ids` at ORM level.
task-2211013
Co-authored-by: Romain Derie <rde@odoo.com>
Co-authored-by: Jeremy Kersten <jke@odoo.com>
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions
