summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-09-24 09:28:20 +0000
committerDavid Beguin <dbe@odoo.com>2019-09-24 13:25:50 +0000
commit33f5bbc7d0808ac61ddd2432aded7cbf66a34e50 (patch)
tree7d815addca754832e4e0e400c558a91a918df497 /addons/web/static/src/js/views/basic/basic_controller.js
parent013128699d546b9bc158e93241cf1304d9c05b73 (diff)
[FIX] website_livechat, im_livechat : use visitor display name instead of name
As since 5b9a81a2c6948ecfbd8f8ed3cad1b068fc4231d1 website.visitor.name can be null if the visitor is not linked to a lead or a res.partner, we cannot use the name anymore to build the name of the mail.channel, etc.. Using display_name will always return the correct value, and will include the numbering of the visitor, in order to identify easily the chat windows (if operator is speaking with multi visitor at the same time) Task ID: 2076190 PR #37340
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions