Commit Graph
4 Commits
Author SHA1 Message Date
tsm-odoo a188d9c894 [IMP] im_livechat, *: use guests for livechat visitors
*: crm_livechat, mail, test_discuss_full, website_livechat.

part of task-3332628

closes odoo/odoo#129770

Related: odoo/enterprise#45767
Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>
2023-09-07 13:10:07 +00:00
tsm-odoo a1438e99d4 [FIX] im_livechat: fix wrong demo data
This commit fixes an issue in the demo data leading
to a crash when consulting the ratings on the website.

Steps to reproduce:
- Go to livechat channel form
- Click on "Go to website"
- Error 500

closes odoo/odoo#131640

X-original-commit: 04b6831816425592b9ab9077c6d0caf20b95c93e
Signed-off-by: Didier Debondt (did) <did@odoo.com>
Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>
2023-08-16 10:24:17 +02:00
tsm-odoo 18dda9ddb4 [FIX] im_livechat: fix session demo data
This PR fixes some issues present in the livechat demo data:
- anonymous name should be given to the channel, and should be the
name of the visitor not the one of the channel.
- odoobot should not be a member of the channel (done by default
when creating a channel but making those channels that are supposed
to be one-to-one channels a group channel)

At the same time, this PR fixes an issue with the thread model that
contained clear commands instead of null value.

part of task-3332872

closes odoo/odoo#126219

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2023-06-26 20:01:15 +02:00
tsm-odoo 99b4b861e8 [IMP] im_livechat: improve livechat session history search
This PR improves the search on livechat session's history:
- Rename "Name" into "Attendee"
- Add quick filters:
  - My sessions
  - My Team
  - Session Date
  - Ratings: Good / Bad / Unrated
  - Rename "Creation Date" into "Session Date"

At the same time, this PR fixes the livechat channel demo
data since they were not realistic:
- Older messages should have lower ids
- Operators should be members of the channel
- Rating must be the last message of the channel
- Missing `email_from` for visitor messages

part of task-3332872

closes odoo/odoo#125891

Signed-off-by: Didier Debondt (did) <did@odoo.com>
2023-06-22 18:29:50 +02:00