[FIX] mail: for mass mailing, replies in document False by default
authorDenis Ledoux <dle@openerp.com>
Thu, 30 Jan 2014 10:20:01 +0000 (11:20 +0100)
committerDenis Ledoux <dle@openerp.com>
Thu, 30 Jan 2014 10:20:01 +0000 (11:20 +0100)
commit2326d26bc73012a7d5d0f776933d25f3a1d20a23
tree840ef48b28317c4f60581cc0170e37b03dc46fa0
parent6cc096aebc019d5ee7c5c7009384fe99df404518
[FIX] mail: for mass mailing, replies in document False by default

Post a copy in the document is False by default, and it does not make sense to replies in the document if the copy is not itself in the document.
Therefore, if post a copy in the document is false by default, replies in the document should be false too.

Moreover, reply_to is required in the form view if mass mailing mode and post a copy is false OR replies in the document is false
But, to avoid updating the view, in the send_mail python function, if no reply to is set and post a copy or replies is false, we set the from email as the reply_to email

bzr revid: dle@openerp.com-20140130102001-v4t8ig1sj3cpfy3b
addons/mail/wizard/mail_compose_message.py
addons/mail/wizard/mail_compose_message_view.xml