summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-01-30 12:36:05 +0000
committeraab-odoo <aab@odoo.com>2020-01-31 10:35:37 +0000
commit8641c46ccbd1259b5c551b97351df6876b8b5df5 (patch)
tree69d22076802b8f2b1e1151c485096097a4e6f44f /addons/web/static/src/js/views/basic/basic_controller.js
parent2161d23d80e58bebca71e2cb799b4a3c9f9148e7 (diff)
[FIX] web: do not deploy services twice
Since 671a5471cd891, services are deployed twice in the backend: once by the webclient (as it is a ServiceProvider), and once by the env (which now deploys the services to make them directly available for each Owl component of the component tree). As a consequence, some services perform twice some operations (e.g. the mail service fetches twice the /mail/init_messaging route, the crash manager service displays twice the tracebacks...). This commit fixes the issue by making the webclient directly use services from the env, instead of deploying them a second time. Part of 2183810 closes odoo/odoo#44301 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions