From 7cb82070069d5dcf58c69dc3028053df2c3d46c2 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Thu, 30 Jan 2014 15:44:42 +0100 Subject: [PATCH] [FIX] mail: same_thread back to True by default, otherwise this is not anymore possible to send email in non mass mailing. Same thread should be changed to False in trunk release bzr revid: dle@openerp.com-20140130144442-qmbci74sdznod4k3 --- addons/mail/wizard/mail_compose_message.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py index 50e8a8413a1..0ef8e3c8f0c 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -130,7 +130,7 @@ class mail_compose_message(osv.TransientModel): 'wizard_id', 'attachment_id', 'Attachments'), 'filter_id': fields.many2one('ir.filters', 'Filters'), } - + #TODO change same_thread to False in trunk (Require view update) _defaults = { 'composition_mode': 'comment', 'body': lambda self, cr, uid, ctx={}: '', @@ -138,7 +138,7 @@ class mail_compose_message(osv.TransientModel): 'partner_ids': lambda self, cr, uid, ctx={}: [], 'post': False, 'notify': False, - 'same_thread': False, + 'same_thread': True, } def check_access_rule(self, cr, uid, ids, operation, context=None):