diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-11-27 14:50:32 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-11-27 15:06:23 +0000 |
| commit | 6f37e2cc5d8aa8b0723610216c29772cb832b03e (patch) | |
| tree | 5bdc93f6a98954fc717f3a5560dbc0411b6d3085 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 77a8d92196924075f3e822fd218f57142cf20284 (diff) | |
[FIX] mail: increment messaging menu counter once per unread preview
Before this commit, the total amount of unread messages of a
channel was considered in the computation of the messaging
menu counter.
As a result, if the channel contains 100 unread messages,
the messaging menu was displaying a counter of more than 100.
The intended behaviour is to increment the messaging menu
counter once per unread channel, thus the example above should
incremented the counter only once. The channel preview itself
should still display that there are 100 unread messages.
Task-ID 1913080
closes odoo/odoo#29080
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
