summaryrefslogtreecommitdiff
path: root/addons/website_livechat/static/src/xml/thread.xml
diff options
context:
space:
mode:
authorOdoo's Mergebot <xmo+roboto@odoo.com>2019-09-17 18:25:40 +0200
committerGitHub <noreply@github.com>2019-09-17 18:25:40 +0200
commit2476be9bf9e94834d59bcb8c8ec28d973fff5786 (patch)
tree93b39ef0d83b8eb26052a9fe0da8d48237fd8598 /addons/website_livechat/static/src/xml/thread.xml
parentaa791a646b5d52f8c56b13ac7f01601cbb345d5d (diff)
parent83e67319f0d0e7999754562c757a32a9d87e2549 (diff)
[MERGE][ADD-IMP] website_* : apply multiple improvements on visitor
PURPOSE Perform a back2basics on recently-merged and recently-under-merged website visitor concept. Main points to add are sending emails and sms to visitors as well as improving integration. SPECIFICATIONS Applies various improvements: - Add graph view on visitors; - Remove welcome message if chat request usecase; - If a visitor is online: line is green / if offline: line is red (in the list view); - Visitors list view: add first / last connection fields and remove time_since_last_action; - Avoid useless leave notification if the livechat channel is empty; - Delete the first message "hello, how may i help you?" on a live chat request when I start a live chat; - Send mail to visitor linked to res.partner or linked to a crm.lead. New simplified wizard to post_message on lead or on res_partner if any (priority to lead). If the lead has a res_partner and not the visitor, set the partner on the visitor If the lead has no partner, create a partner based on the lead and link it to the visitor; - send a sms to a visitor if the visitor is linked to a least 1 lead that has a mobile number or a phone number or is linked to a res.partner with mobile number. As in contact form from website, there is only a phone field and not a mobile one, we allow to send sms if the lead phone field is filled; Fixes : - ACLS on website_visitor_page model (for im_livechat_group_user) - Update visitor lang if visitor change the website lang. - Create visitor twice when translated website (due to rerouting) See sub commit for more informations LINKS Task ID : 2070272 closes odoo/odoo#36290 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_livechat/static/src/xml/thread.xml')
-rw-r--r--addons/website_livechat/static/src/xml/thread.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_livechat/static/src/xml/thread.xml b/addons/website_livechat/static/src/xml/thread.xml
index a8872290b2a..b257f5264b3 100644
--- a/addons/website_livechat/static/src/xml/thread.xml
+++ b/addons/website_livechat/static/src/xml/thread.xml
@@ -32,7 +32,7 @@
<div class="o_thread_message_sidebar align-self-center">
<div class="o_thread_message_sidebar_image">
<img alt=""
- t-att-src="visitor.partner_id ? '/web/image/res.partner/' + visitor.partner_id + '/image_small' : '/mail/static/src/img/smiley/avatar.jpg'"
+ t-att-src="visitor.partner_id ? '/web/image/res.partner/' + visitor.partner_id + '/image_64' : '/mail/static/src/img/smiley/avatar.jpg'"
class="o_thread_message_avatar rounded-circle"/>
<span>
<i t-if="visitor.is_connected" aria-label="Visitor is connected" class="o_w_visitor_status o_w_visitor_connected fa fa-circle" role="img" title="Online"></i>