summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/graph/graph_controller.js
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-11-07 10:20:48 +0000
committerAlexandre Kühn <aku@odoo.com>2018-11-07 10:20:49 +0000
commit8af392865deac628b1ff57627fa116131547bea1 (patch)
tree3d5888fe31bc6c669b1b32e98d8f262e0b329ef3 /addons/web/static/src/js/views/graph/graph_controller.js
parentb3e450abcac1b0457eae69d35c1d929ffd626a21 (diff)
[FIX] mail: mark as read per preview
Before this commit, when there was several previews on the messaging menu that were not linked to any document, marking one of them as read had the unintended behaviour to mark all of them as read. Steps to reproduce: - Admin with notification management as 'Handle with Odoo' - Demo assign Admin to two different tasks - Admin mark one preview as read > Both previews notifying assignment to a task have been marked as read This is caused by the fact that messages of those previews are not related to any document. As a result, when marking one preview as read, it maps related messages to mark as read, which was taking into account all messages that are not related to any document. With this commit, previews now tracks message IDs, so that marking one preview as read only mark the related messages as read. Task-ID 1907159
Diffstat (limited to 'addons/web/static/src/js/views/graph/graph_controller.js')
0 files changed, 0 insertions, 0 deletions