summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/control_panel
diff options
context:
space:
mode:
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',
});