summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2016-01-14 12:52:31 +0100
committerThibault Delavallée <tde@openerp.com>2016-02-01 12:03:17 +0100
commit0408f7931f3c9cc4af396c63c251d71940701362 (patch)
treed643db89a143d26c6f66d71c1bbad950d795b3c8 /addons/web/static/src/js/framework/session_instance.js
parent051fb278b97ba15fbeb5994935245c30e2ee9639 (diff)
[IMP] mail: compose options for mass mailing
Composer in mass mailing mode currently keeps a copy of the emails in the document communication history (chatter). It is done by keeping the mail_message that is used to create the mail_mail record. It is now possible to customize this behavior. Using auto_delete_message one can choose to not keep a copy of the sent emails. Note that the notification field on the mail_mail is used to know if the associated mail_message has to be unlinked when unlinking the mail_mail. Auto deletion of sent emails is based on the option on the template used to generate the emails. It is now possible to bypass the template behavior if requested, using the auto_delete field in the composer. If this field is not set, the previous behavior applies. It is now also possible to tune the message_type and subtype_id of the posted message. Previously all messages posted through the composer were comments with a computed subtype being either a comment or a note. Those values are now default values but can be changed in the wizard and correctly taken into account when posting the message. Those modification do not change anything in the default behavior of the composer and templates. They are mainly introduced for use in future improvements in various addons, like sending reminder emails that are not stored.
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions