diff options
| author | fja-odoo <fja@odoo.com> | 2020-03-13 15:16:25 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2020-03-19 15:37:46 +0000 |
| commit | 124c3539aa37e449b52dc20c6325b2317afe32a4 (patch) | |
| tree | 6418bc10f69c49654d5902d7bac40087e8cf114e /addons/website/data/website_data.xml | |
| parent | 51c9599b79cfef7d1299b8c774b9e28917923509 (diff) | |
[FIX] website: perf - prefetch access token to avoid extra request
Access_token has a restricted group, so it not fetched by defaut.
In our case, we know that after the first access to partner_id, that will fill
the cache without access_token, we will access access_token (so new query).
So we access first the access_token, to have only one request that fill the
cache with the access_token, and the partner_id used later.
Related to #47257
task-2211013
X-original-commit: 7dd69d10d00d5f4a7c12ec414d63f868a10683be
Diffstat (limited to 'addons/website/data/website_data.xml')
0 files changed, 0 insertions, 0 deletions
