diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-02-15 11:45:33 +0100 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-02-15 13:24:37 +0100 |
| commit | 8b9e854be4bfe3eda9a15368a864f7af606dee31 (patch) | |
| tree | b46631acce253d79cccc1b3c3353aeb3532f62c6 /addons/web/static/src | |
| parent | 995d08b79a43ecf64c204fe3adba92383e1c22b7 (diff) | |
[FIX] im_livechat: livechat button not rely on JS services
Revision of https://github.com/odoo/odoo/commit/02ec09cb1c3e2d7bc7968f40c18f2208d7f3f498
One of the purposes of the previous commit was to test discuss.
There was an attempt to test im_livechat, but it has been aborted due to the possibility
to use livechat on an external website.
However, some bits remain from this attempt, such as LivechatButton becoming a JS service
provider in order to use those services with the external lib. LivechatButton was not working
for the following reasons:
- ServiceProviderMixin.init was not called (so it couldn't load any service);
- On website, there are two service providers (LivechatButton & websiteRootInstance).
This fix ensures that LivechatButton does not rely on JS services, such as the bus_service.
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
