diff options
| author | Alexandre Kühn <aku@odoo.com> | 2019-10-08 15:29:01 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-14 16:30:57 +0000 |
| commit | 7ecb8d3f6105bd0a28c0533f8efbb833528e3eeb (patch) | |
| tree | a231713d02a257c1f91c5f3a9ba11fc7f3eef2cb /addons/mail/static/src/js/services/mail_manager.js | |
| parent | 787316cfec4b714c630f1420d79c58e22b9a9858 (diff) | |
[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>
Diffstat (limited to 'addons/mail/static/src/js/services/mail_manager.js')
| -rw-r--r-- | addons/mail/static/src/js/services/mail_manager.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/services/mail_manager.js b/addons/mail/static/src/js/services/mail_manager.js index 015ebfa01a3..83e9d68bc09 100644 --- a/addons/mail/static/src/js/services/mail_manager.js +++ b/addons/mail/static/src/js/services/mail_manager.js @@ -428,7 +428,6 @@ var MailManager = AbstractService.extend({ return this._rpc({ model: 'mail.message', method: 'unstar_all', - args: [[]] }); }, |
