[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
This commit is contained in:
Denis Ledoux 2014-01-30 15:44:42 +01:00
parent 2326d26bc7
commit 7cb8207006
1 changed files with 2 additions and 2 deletions

View File

@ -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):