summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorfja-odoo <fja@odoo.com>2020-03-13 15:16:25 +0000
committerRomain Derie <rde@odoo.com>2020-03-19 15:37:46 +0000
commit124c3539aa37e449b52dc20c6325b2317afe32a4 (patch)
tree6418bc10f69c49654d5902d7bac40087e8cf114e /addons/web/static/src/js/fields
parent51c9599b79cfef7d1299b8c774b9e28917923509 (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/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions