summaryrefslogtreecommitdiff
path: root/addons/sms/static/src/js/message.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/sms/static/src/js/message.js')
-rw-r--r--addons/sms/static/src/js/message.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/addons/sms/static/src/js/message.js b/addons/sms/static/src/js/message.js
deleted file mode 100644
index 76cc49f266f..00000000000
--- a/addons/sms/static/src/js/message.js
+++ /dev/null
@@ -1,32 +0,0 @@
-odoo.define('sms.model.Message', function (require) {
-"use strict";
-
-const { _t } = require('web.core');
-
-var Message = require('mail.model.Message');
-
-Message.include({
- //--------------------------------------------------------------------------
- // Public
- //--------------------------------------------------------------------------
-
- /**
- * @override
- */
- getNotificationIcon() {
- if (this.getType() === 'sms') {
- return 'fa fa-mobile';
- }
- return this._super(...arguments);
- },
- /**
- * @override
- */
- getNotificationText() {
- if (this.getType() === 'sms') {
- return _t("SMS");
- }
- return this._super(...arguments);
- },
-});
-});