diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-10-24 13:19:46 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-10-29 17:52:05 +0000 |
| commit | 91dfb15c3c17d99c175fe89cbd75eb0999069013 (patch) | |
| tree | 3cf679defc1c75bd4c1a66d17a8c239564dbebe4 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | b4ca8d0bc657857a0eebce1e73309dcfa5031495 (diff) | |
[FIX] mail: mark as read only when accessing to chatter
Backport of 17bb0ca443f54bc231b03794e776bbc6992ffdfa
Before this commit, the user could not receive any notification
from the chatter of a document when having Notification Management
set to "Handle with Odoo".
This problem occurs when the user opens (or has opened) the document.
Any messages received from the document are automatically marked
as read, so it removes the notification right after receiving it.
In order to no longer have this issue, the user had to reload all
pages that have opened this document.
This commit slightly changes the behaviour of the chatter, so that
it automatically marks it as read only when accessing the document,
but not when the document is open (or has been opened). Consequently,
if the user has opened the document and then receives a notification
from this document, it won't automatically mark it as read.
Task-ID 1895359
opw-1890556
closes odoo/odoo#28113
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
