Files
odoo_source/addons/mail/i18n
Rahul Prajapati 2319d9d339 [FIX] mail: rendering of emails in chatter
odoo/enterprise#46143

Before this commit, messages of type email were not rendered properly in the chatter. For example, the email may display text with dark color even when in dark theme or the layout of bootstrap elements like btn might not look correct.

These style issues are caused by combining the style in content of the email (e.g. inline styles) with the style of the webclient, giving the impression that the original visual of the email is buggy.

This commit fixes the issue by showing a slightly transformed style of email messages in chatter that is readable and looks nice with the Odoo theme at hand. In particular with dark theme, the background color matches the bubble color and the text is white.

Sometimes the exact visual of the original email is desired. A button "Show Original Email" in the top-right corner of the message bubble allows seeing the visual of email in its original intention.

Task-3437069

Forward-port-of: #133545
Forward-port-of: #131202
Part-of: odoo/odoo#134234
2023-09-06 11:50:55 +00:00
..
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00