summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/control_panel
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2020-06-12 09:01:44 +0000
committerJulien Mougenot <jum@odoo.com>2020-06-12 09:01:50 +0000
commitc4786fccfd23360a02e442c48ae2fb9f1e70aa4c (patch)
tree95434422bfecf324a2112fadfc078a9bced134e7 /addons/web/static/src/js/control_panel
parentd093fd4236a7c7f18645a85970cbdda6fec44c92 (diff)
[IMP] *: update notifications to optional title
closes odoo/odoo#52826 Related: odoo/enterprise#11084 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/control_panel')
-rw-r--r--addons/web/static/src/js/control_panel/custom_favorite_item.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/web/static/src/js/control_panel/custom_favorite_item.js b/addons/web/static/src/js/control_panel/custom_favorite_item.js
index 75eefe9cc2f..b7b3a34ef81 100644
--- a/addons/web/static/src/js/control_panel/custom_favorite_item.js
+++ b/addons/web/static/src/js/control_panel/custom_favorite_item.js
@@ -60,7 +60,6 @@ odoo.define('web.CustomFavoriteItem', function (require) {
_saveFavorite() {
if (!this.state.description.length) {
this.env.services.notification.notify({
- title: this.env._t("Error"),
message: this.env._t("A name for your favorite filter is required."),
type: 'danger',
});
@@ -69,7 +68,6 @@ odoo.define('web.CustomFavoriteItem', function (require) {
const favorites = this.model.getFiltersOfType('favorite');
if (favorites.some(f => f.description === this.state.description)) {
this.env.services.notification.notify({
- title: this.env._t("Error"),
message: this.env._t("Filter with same name already exists."),
type: 'danger',
});