diff options
| author | David Beguin <dbe@odoo.com> | 2018-10-31 09:41:07 +0000 |
|---|---|---|
| committer | David Beguin <dbe@odoo.com> | 2018-12-05 14:37:13 +0000 |
| commit | 95aa9f278fbfab0d028299e0397a8ecab1e5bac6 (patch) | |
| tree | 6b92cf299f0dad1f18f1b177c1f30ed79fd1cdcc /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 2986a5a412fcfcaf97a38f087bfa492a9f87d073 (diff) | |
[IMP] im_livechat : store assigned livechat operator
By adding a livechat_operator_id on the mail.channel, we ensure that,
even if the operator of the discussion is removed from the operators
of the livechat.channel, we can still know who was the operator,
at the time of the discussion.
In that way, we can still keep the history of the former assigned operator.
[IMP] im_livechat : simplify channel and operator reports
As Operator_id is required for livechat channel,
we can assume that if livechat_operator_id is not null,
then it's a livechat channel. also, as we have the partner_id
stored in livechat_operator_id field, no need to join
partners and users tables anymore to get the operator
of the channel.
Task ID : 1895998
Closes PR #28283
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
