summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-01-16 17:05:11 +0100
committerNicolas Lempereur <nle@odoo.com>2018-01-17 11:49:48 +0100
commit80f1d9ded6f88de509dc1ca80a5fd201281b0d1d (patch)
tree1adc39cdcdddffe1d820d71a4c8ad53718fbea4a /addons/web/static/src/js
parent23a2bac3fa3aadc473e29adac376c614c983ec6b (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')
0 files changed, 0 insertions, 0 deletions