[FIX] mass_mailing: on mass mailing sending, set same_thread for message composer
authorDenis Ledoux <dle@openerp.com>
Sun, 1 Jun 2014 20:08:56 +0000 (22:08 +0200)
committerDenis Ledoux <dle@openerp.com>
Sun, 1 Jun 2014 20:08:56 +0000 (22:08 +0200)
commitdd36a0e5093df90bd92667d26f529a3a79fe0397
tree4c60bca96203121a1d65922f645164d7c5906def
parentd6a2ae642b1a48ce6cb227c3cde2deca847a0a33
[FIX] mass_mailing: on mass mailing sending, set same_thread for message composer

same_thread boolean field of mail.compose.message model define wether or not replies should be posted in the thread or not
On composer creation, this boolean should be passed according to the reply_to_mode of the mass_mailing
Otherwise, all replies would be posted in the thread, and the reply_to will be ignored (if same_thread id True, reply_to is poped from the mails values, mail/wizard/mail_compose_message.py:284)
addons/mail/wizard/mail_compose_message.py
addons/mass_mailing/models/mass_mailing.py