[IMP] mail: Re reply
bzr revid: chm@openerp.com-20121025134819-3iwgsqziivkz8d0z
This commit is contained in:
@@ -700,7 +700,8 @@ class mail_thread(osv.AbstractModel):
|
||||
|
||||
if not subject and parent_id:
|
||||
parent = mail_message.read(cr, uid, parent_id, ['subject'], context=context)
|
||||
subject = 'Re: ' + parent['subject']
|
||||
if not parent['subject'].startswith('Re:')
|
||||
subject = 'Re: ' + parent['subject']
|
||||
|
||||
new_message_id = self.message_post(cr, uid, thread_id=thread_id, body=body, subject=subject, type=type,
|
||||
subtype=subtype, parent_id=parent_id, context=context)
|
||||
|
||||
Reference in New Issue
Block a user