diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-09-17 13:02:14 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-09-17 13:02:14 +0200 |
| commit | 2a3a631ef421cda7a179a7104ca725602e94350b (patch) | |
| tree | cecf71d680aa197944beb688acfecb24e774298b /addons/analytic_user_function/analytic_user_function.py | |
| parent | ff0eb116ea8e3baa49c0083ab9ca3db02f9696fb (diff) | |
| parent | 8ae3b158dba4ead28e8f510e7a776a2c98877dff (diff) | |
[MERGE] [ADD] mass mailing module: handle mass mailing campaigns, get statistics of email waves
This module allows to define mass mailing campaigns and to have statistics about mass mailings. Each campaign holds several waves of mass mailing. Tracked statistics are the opening datetime, the reply datetime, the bounce datetime. The statistics are stored onto a mail.mail.statistics model. This allows to delete emails without loosing statistics.
Emails sent using mass mailing use a blank image linked to a controller that allows to track the opening of the email. When a reply goes through the mail gateway, the message_id in the email references is used to find its parent and, if found, update its replied date.
This module adds a new parameter, the bounce alias. If set, the Return-Path of sent emails is set to bounce_alias@alias_domain (i.e. bounce@mydomain.com). Any email coming through the mail gateway using this alias set its parent, if found, as bounced. If the related model has a message_bounce field, this field is incremented. This is for example the case for crm.lead model, allowing to filter and delete leads linked to a wrong address.
Misc :
- mail: test_mail_base is now called common; moved mail.group tests into their own file
- mail: fixed some issues in controllers (forgotten import, controllers not updated to new specifications of oe framework)
- mail, email_template, mail.compose.message: template rendering is now done in batch; now each template is rendered for all res_ids. Refactored email or mail_message value creation in mail.compose.message, to extract value creation from the process of sending emails. This allows to ease the inheritance.
- mail.compose.message: in mass_mailing, default value is to create a pure email mailing, not mass posting on document (aka, post is now False by default)
- mail.message, mail.followers: cleaned posting and notification email process, to lessen the number of queries to execute (read -> browse, refactored some methods)
- mail.message: cleaned form view, removing unnecessary group_by
- mail.message: reply_to and message_id computation in create now have their own methods located in mail_message.py (and not in mail_mail.py anymore for reply_to)
- mail.mail: slightly cleaned form view
- mail.thread: processing of routes in mail gateway is now done in message_route_process, extracted from message_route, to ease inheritance
- base_setup: added field in res_config to install mass_mailing
- crm: added message_bounce field
bzr revid: tde@openerp.com-20130917110214-z8494dfuok1g89lh
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
