diff --git a/addons/mass_mailing_sms/static/description/icon.png b/addons/mass_mailing_sms/static/description/icon.png
index 7dbb33addee..3076ce49bea 100644
Binary files a/addons/mass_mailing_sms/static/description/icon.png and b/addons/mass_mailing_sms/static/description/icon.png differ
diff --git a/addons/mass_mailing_sms/static/description/icon.svg b/addons/mass_mailing_sms/static/description/icon.svg
index 89055592c82..b4feab2c5ca 100644
--- a/addons/mass_mailing_sms/static/description/icon.svg
+++ b/addons/mass_mailing_sms/static/description/icon.svg
@@ -1,70 +1 @@
-
-
-
+
\ No newline at end of file
diff --git a/addons/sms/models/mail_message.py b/addons/sms/models/mail_message.py
index 3f97b8abcb0..10e9ffab73b 100644
--- a/addons/sms/models/mail_message.py
+++ b/addons/sms/models/mail_message.py
@@ -54,7 +54,7 @@ class MailMessage(models.Model):
info = dict(message._get_mail_failure_dict(),
failure_type='sms',
notifications=dict((notif.res_partner_id.id, (notif.notification_status, notif.res_partner_id.name)) for notif in notifications if notif.notification_type == 'sms'),
- module_icon='/sms/static/img/sms_failure.png'
+ module_icon='/sms/static/img/sms_failure.svg'
)
res.append(info)
return res
diff --git a/addons/sms/static/img/sms_failure.png b/addons/sms/static/img/sms_failure.png
deleted file mode 100644
index 6c40062f92c..00000000000
Binary files a/addons/sms/static/img/sms_failure.png and /dev/null differ
diff --git a/addons/sms/static/img/sms_failure.svg b/addons/sms/static/img/sms_failure.svg
new file mode 100644
index 00000000000..d03ee04b23d
--- /dev/null
+++ b/addons/sms/static/img/sms_failure.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/addons/sms/static/src/js/fields_phone_widget.js b/addons/sms/static/src/js/fields_phone_widget.js
index ecbe784d22d..f269b26d0ed 100644
--- a/addons/sms/static/src/js/fields_phone_widget.js
+++ b/addons/sms/static/src/js/fields_phone_widget.js
@@ -58,8 +58,10 @@ Phone.include({
var $composerButton = $('', {
title: _t('Send SMS Text Message'),
href: '',
- class: 'btn-sm btn-link mb4 fa fa-comment o_field_phone_sms',
+ class: 'ml-3 d-inline-flex align-items-center o_field_phone_sms',
+ html: $('', {class: 'font-weight-bold ml-1', html: 'SMS'}),
});
+ $composerButton.prepend($('', {class: 'fa fa-mobile'}));
$composerButton.on('click', this._onClickSMS.bind(this));
this.$el = $('').append(this.$el).append($composerButton);
}
diff --git a/addons/sms/static/src/xml/thread.xml b/addons/sms/static/src/xml/thread.xml
index a28e70f0fa7..6fb9530a8f4 100644
--- a/addons/sms/static/src/xml/thread.xml
+++ b/addons/sms/static/src/xml/thread.xml
@@ -3,10 +3,13 @@
-
+
-
+
+
+ SMS
+