summaryrefslogtreecommitdiff
path: root/addons/note/static/src
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-08-23 14:10:03 +0200
committerAlexandre Kühn <aku@odoo.com>2018-09-20 17:19:02 +0200
commit3457e037e9801a700982153746c4ef8ec35f8183 (patch)
treefef6e74976c65a9b5a90e2708fe47a3667b9fe9f /addons/note/static/src
parent6a862ba0d5b6264af9c70582dc862210d411fb39 (diff)
[FIX] mail: mark document thread preview as read
Before this commit, it was not possible to mark a document thread preview as read from the messaging menu. This issue comes from the fact that document message previews are built from messages in the Inbox. The computation of the unread counter is correct for the preview, but not for the associated document thread object which has a counter of 0. Since it is only possible to mark as read when the counter is strictly greater than 0, the 'mark as read' did not have any impact. This commit fixes this issue by ensuring that the unread counter of a document thread matches the number of needaction messages it contains. Task-ID 1875668
Diffstat (limited to 'addons/note/static/src')
0 files changed, 0 insertions, 0 deletions