Browse Source

Explain patch rationale.

pull/114/head
Jairo Llopis 8 years ago
committed by GitHub
parent
commit
05bfb75a50
  1. 2
      email_template_qweb/models/mail_template.py

2
email_template_qweb/models/mail_template.py

@ -33,6 +33,8 @@ class MailTemplate(models.Model):
'email_template': this,
})
)
# Some wizards, like when sending a sales order, need this
# fix to display accents correctly
if isinstance(result[record_id]['body_html'], unicode):
result[record_id]['body_html'] = (
result[record_id]['body_html'].decode('utf-8')

Loading…
Cancel
Save