diff options
| author | Alexandre Kühn <aku@odoo.com> | 2019-01-30 13:18:16 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2019-01-30 13:18:18 +0000 |
| commit | 8897cb1feb7ff45de9a1a939a547908adb5b1911 (patch) | |
| tree | a6e601465e6c42d815029ad0b738547f9cd4619f /addons/web/static/src/js/views/basic | |
| parent | 6b054f26409af944a5c5e762cc45d51938f2640b (diff) | |
[FIX] mail: keep activity notification counter on today's meetings
Before this commit, when a user had some meetings planned today
and open the systray activity menu, the counter would disappear.
This was caused by a weak computation of the counter that relies
on activity having always a total counter. This was not the case
for activity that are today's meetings: Counter would be computed
as `NaN`, and since `NaN` is falsy, it won't display the counter.
Today's meetings have no reason to have a counter, so this commit
fixes the issue by letting those activities not change the
computation of the counter.
closes odoo/odoo#30695
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
