Tower: upload web_notify 16.0.3.2.0 (via marketplace)
This commit is contained in:
12
addons/web_notify/static/src/js/services/notification.esm.js
Normal file
12
addons/web_notify/static/src/js/services/notification.esm.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/** @odoo-module */
|
||||
import {Notification} from "@web/core/notifications/notification";
|
||||
import {patch} from "web.utils";
|
||||
|
||||
patch(Notification.props, "webNotifyProps", {
|
||||
type: {
|
||||
type: String,
|
||||
optional: true,
|
||||
validate: (t) =>
|
||||
["warning", "danger", "success", "info", "default"].includes(t),
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user