[FIX] mail: discuss unstar all

Before this commit, when clicking on "Unstar All" from Discuss
'Starred' mailbox, it crashes with following error:

```
TypeError: unstar_all() takes 1 positional argument but 2 were given
```

This commit fixes this issue

closes #37994

closes odoo/odoo#38738

X-original-commit: ec330d1668640d3ae75e23a70695006a63dbe217
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Alexandre Kühn
2019-10-14 16:30:57 +00:00
committed by fw-bot
parent 787316cfec
commit 7ecb8d3f61
@@ -428,7 +428,6 @@ var MailManager = AbstractService.extend({
return this._rpc({
model: 'mail.message',
method: 'unstar_all',
args: [[]]
});
},