[MERGE] [REF] mass_mailing refactoring. Mass mailing is refactored to be easier to...
authorThibault Delavallée <tde@openerp.com>
Wed, 16 Apr 2014 11:51:52 +0000 (13:51 +0200)
committerThibault Delavallée <tde@openerp.com>
Wed, 16 Apr 2014 11:51:52 +0000 (13:51 +0200)
commitfef7f9adfdb6585e8c16b2ba3e70f06caf660d98
treec75e312c44be467d90a87d53d03bccd8faa99260
parent4f5355731126cf1dbc8a454daf84c32a0c839675
parent2fdc1d1905d1ec6e31abad0d4e10424b71a4acc1
[MERGE] [REF] mass_mailing refactoring. Mass mailing is refactored to be easier to use, introducing an easy-to-use way of handling recipients, mailing lists and statistics. This branch comes with a web branch that introduce the char_domain widget, that is a widget on a char field holding a domain. It allows to select and count records without having to deal with the complexity of domains.

This branch comes with a cleaning of marketing modules :
- marketing now holds only the basic stuff for marketing related modules: mainly marketing settings + menu definition
- marketing_crm new module is a bridge between crm and marketing and holds the crm-related stuff previously present in marketing module.

This branch also holds some mail and template improvement in order to speedup the mass mailing process. The template edition in website_mail has also be improved. It is now a page that allows to edit email-like content (content with a subject, an email_from and a body), like templates, emails or mass mailing.

Misc :
- mail_compose_message: removed unnecessary fields coming from the template (partner_to, ...) because they are confusing -> composer should be easier to understand and use; also cleaned method generating the email values in the composer that was splitted in two methods
- fixed removed double body computation when using templates (one for template, then the wizard -> not necessary)
- mail_message: record_name is not a function field anymore, but a char field + a method in create, allowing to speedup mass mailing by avoiding browsing all records to get their name

bzr revid: tde@openerp.com-20140416115152-tnitidd4v6w37hyp