diff options
| author | Xavier Dubuc <xdu@odoo.com> | 2020-10-30 15:22:13 +0000 |
|---|---|---|
| committer | Xavier Dubuc <xdu@odoo.com> | 2020-11-02 17:18:55 +0000 |
| commit | 093f83ab105deb964e98ed15f5abd50c432a681c (patch) | |
| tree | fb1c21620f449725896013ce99573ce4a2f82770 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | d649232e49a8bca55ba8684a605fd34068138cf6 (diff) | |
[FIX] mail: handle traceback on need_moderation=false filter in discuss
Changed ValueError to UserError and return to raise so the user get a popup to
explain that this filter value is not supported instead of a traceback
task-2352688
closes odoo/odoo#61209
X-original-commit: f9ab590cd961026865808f4008bd45fc2afb6bed
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
