diff options
| author | jvm-odoo <jvm@odoo.com> | 2020-06-08 10:31:33 +0000 |
|---|---|---|
| committer | jvm-odoo <jvm@odoo.com> | 2020-06-08 13:44:26 +0000 |
| commit | 6ac5b14d52e89f48ed919a7ba0bea5193965b58c (patch) | |
| tree | 61e2def7517728c95036017ec9736d167f87aac4 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 4c5a219f024bf45e662fa8f8ef905b8f844c828f (diff) | |
[FIX] mail: fix mark several messages as read
Issue
- Install Discuss & any app with a chatter
- Have 2 session, admin & demo
- Clear admin systray messages
As demo:
- Discuss > #general
- Ping (@...) admin 2 times
As admin:
- Go in the app you installed
- Open systray messages
- Mark messages as read
It doesn't work
Cause
When marking as read we get the message-ids as a string
and if you have several ids it will be ["1,2"] which is
not supported by the back-end
Solution
The back-end should receive an array like [1, 2]
OPW-2234671
closes odoo/odoo#52608
X-original-commit: fbe91697fb1bc2ade5eba034b97bd671eeaf200b
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
