diff options
| author | Odoo's Mergebot <xmo+roboto@odoo.com> | 2019-09-17 18:25:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-17 18:25:40 +0200 |
| commit | 2476be9bf9e94834d59bcb8c8ec28d973fff5786 (patch) | |
| tree | 93b39ef0d83b8eb26052a9fe0da8d48237fd8598 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | aa791a646b5d52f8c56b13ac7f01601cbb345d5d (diff) | |
| parent | 83e67319f0d0e7999754562c757a32a9d87e2549 (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/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
