summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-11-14 13:38:31 +0000
committerThibault Delavallée <tde@odoo.com>2020-01-02 15:14:47 +0000
commit5b62f6e0b629eaa42d86edebe23b426d4cbdd46b (patch)
tree26e55320745021247226f50f0cdbe5a5ebf390d4 /addons/web/static/src/js/views/basic/basic_model.js
parent12eb45301f6692ed466d196abe4e49cb0a6b13d2 (diff)
[IMP] website_livechat : enable chat request on all livechat enabled pages
Before this commit, only the tracked page can start the chat request at visitor side. Which is a bit sad as the operator can send the visitor a chat request but if the visitor goes on a non tracked page but has the opportunity to start a livechat, the chat request won't reach the visitor. This commit refactor the way a chat request is sent to the client side. Instead of looking for a opened chat request on every page request, the chat request information (if any opened) is added to the channel info that are given to the Livechat button widget. If the widget receives chat request infos, the widget set himself, before starting, the cookie of the livechat session using the chat request informations. Then, the conversation (from chat request) is automatically loaded as any other opened chat session. Task ID: 2081550 PR #40274 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions