diff options
| author | Didier (did) <did@odoo.com> | 2020-09-15 13:46:44 +0000 |
|---|---|---|
| committer | Didier (did) <did@odoo.com> | 2020-09-16 10:14:06 +0000 |
| commit | d13e451bccd122bbf9738de01563e97df831808a (patch) | |
| tree | d7c308f34fe250256fdac5209976623ab9594cb1 /addons/mail/static/src/components/follower_list_menu | |
| parent | 5879f7dede16c8ba574ed648e4c91ca438eb93fa (diff) | |
[FIX] mail: send the correct args to the message_unsubscribe method
Before this commit it was not possible to remove a channel from the followers.
task-2324263
closes odoo/odoo#57812
X-original-commit: 9a065048bbdd09072084d03e67fd012766ddbe23
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/follower_list_menu')
| -rw-r--r-- | addons/mail/static/src/components/follower_list_menu/follower_list_menu_tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/components/follower_list_menu/follower_list_menu_tests.js b/addons/mail/static/src/components/follower_list_menu/follower_list_menu_tests.js index 894a1b2cef5..cf6fcf24953 100644 --- a/addons/mail/static/src/components/follower_list_menu/follower_list_menu_tests.js +++ b/addons/mail/static/src/components/follower_list_menu/follower_list_menu_tests.js @@ -365,7 +365,7 @@ QUnit.test('click on remove follower', async function (assert) { assert.step('message_unsubscribe'); assert.deepEqual( args.args, - [[100], [self.env.messaging.currentPartner.id]], + [[100], [self.env.messaging.currentPartner.id], []], "message_unsubscribe should be called with right argument" ); } |
