[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:
@@ -428,7 +428,6 @@ var MailManager = AbstractService.extend({
|
||||
return this._rpc({
|
||||
model: 'mail.message',
|
||||
method: 'unstar_all',
|
||||
args: [[]]
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user