From 92597407f877a060068805486fd236ac1e0b23af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 27 Mar 2013 12:19:10 +0100 Subject: [PATCH] [CLEAN] Cleaned the cleaning of the fix. bzr revid: tde@openerp.com-20130327111910-l7a9s5rk05b8jbme --- addons/mail/wizard/mail_compose_message.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py index e475baf82ae..da6307ba019 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -193,9 +193,7 @@ class mail_compose_message(osv.TransientModel): # create subject re_prefix = _('Re:') - if message_data.subject: - - reply_subject = tools.ustr(message_data.subject or tools.ustr(message_data.record_name or '') or '') + reply_subject = tools.ustr(message_data.subject or message_data.record_name or '') if not (reply_subject.startswith('Re:') or reply_subject.startswith(re_prefix)) and message_data.subject: reply_subject = "%s %s" % (re_prefix, reply_subject) # get partner_ids from original message