acsone / acsone-addons

Acsone experimental Odoo modules, most of them used in real projects.
GNU Affero General Public License v3.0
21 stars 27 forks source link

[html_widget_embedded_picture] accented characters are not well displayed #71

Closed cvinh closed 2 years ago

cvinh commented 9 years ago

Hello

With mass mailing which contents accented characters, those characters are not decoded well

Solution is to add 'decode('utf-8') to the get_payload function :

diff --git a/html_widget_embedded_picture/ir_mail_server.py b/html_widget_embedded_picture/ir_mail_server.py index f3d6d9a..25b1092 100644 --- a/html_widget_embedded_picture/ir_mail_server.py +++ b/html_widget_embedded_picture/ir_mail_server.py @@ -38,7 +38,7 @@ class ir_mail_server(orm.Model): _inherit = "ir.mail_server"

 def embedd_ir_attachment(self, cr, uid, message, body_part, context=None):
flotho commented 9 years ago

:+1:

lmignon commented 9 years ago

@invitu @flotho see https://github.com/acsone/acsone-addons/pull/62

sbidoul commented 8 years ago

@invitu @flotho #62 is merged. Does it solve the issue for you?

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.