diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2018-01-16 17:05:11 +0100 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-01-17 11:49:48 +0100 |
| commit | 80f1d9ded6f88de509dc1ca80a5fd201281b0d1d (patch) | |
| tree | 1adc39cdcdddffe1d820d71a4c8ad53718fbea4a /addons/web/static/src/js/widgets/debug_manager.js | |
| parent | 23a2bac3fa3aadc473e29adac376c614c983ec6b (diff) | |
[FIX] mail: reduce no sudo effect mark_all_as_read
The "Mark all read" button either set all messages as read, or if a
domain is given, filter messages on it.
But this filtering is also dependent on not doing sudo so odd
notification to which we would somehow not have any access would never
disappear in the unread number.
Adding a sudo is risky, so this changeset just modify the test on domain
since in most instance the domain is just an empty list (so: []).
The added test before this change would fail at the last assert ("mark
all read should conclude all needactions even inacessible ones").
opw-805185
closes #22277
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
0 files changed, 0 insertions, 0 deletions
