Skip to content
Snippets Groups Projects
Commit 4ab5728d authored by Lucas Lefèvre's avatar Lucas Lefèvre
Browse files

[FIX] mail: Don't log unhandled notification


The `mail` module logs bus notifications it does not handle. However, some
notifications are not meant to be handled by `mail` and it's perfectly fine.

This commit removes the log to avoid useless noise in the console.

closes odoo/odoo#66683

X-original-commit: e0ae3c62
Signed-off-by: default avatarSébastien Theys (seb) <seb@odoo.com>
parent d80d79ef
Branches
Tags
No related merge requests found
......@@ -87,9 +87,6 @@ function factory(dependencies) {
return;
}
return this._handleNotificationPartner(Object.assign({}, message));
default:
console.warn(`mail.messaging_notification_handler: Unhandled notification "${model}"`);
return;
}
});
await this.async(() => Promise.all(proms));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment