From 5e093b7a37984c8cc5aa73d1c0f7aa9c9345e6b1 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Mon, 15 Feb 2021 15:05:36 +0000 Subject: [FIX] base: mail signature CSS inlined for icons etc The mail signature of an user did not inline the CSS like the body of a message, so for example icons seemed to work but would not be seen (unless the mail reader had the same font-awesome system). With this change we inline the signature too. On edition there was also an issue since the original icon was saved as data-class which was stripped: so eg. when editing a mail.message with working icon, the icons would disappear. opw-2453912 closes odoo/odoo#66264 X-original-commit: a723bcbebbbc3a526cf63f28b66f53b8be3fe76e Signed-off-by: Nicolas Lempereur (nle) --- odoo/addons/base/views/res_users_views.xml | 4 ++-- odoo/tools/mail.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'odoo') diff --git a/odoo/addons/base/views/res_users_views.xml b/odoo/addons/base/views/res_users_views.xml index 3212d32ccfb..27d16fc770c 100644 --- a/odoo/addons/base/views/res_users_views.xml +++ b/odoo/addons/base/views/res_users_views.xml @@ -255,7 +255,7 @@ - + @@ -453,7 +453,7 @@ - +