Commit Graph

68 Commits

Author SHA1 Message Date
Thibault Delavallée d5bc161438 [IMP] mass_mailing: now allowing to mail only a part of
the mailing lists, to perform AB testing. Also allows to avoid mailing contacts
more than once in a given campaign.

bzr revid: tde@openerp.com-20140401132454-g65utzd1zd8crpq9
2014-04-01 15:24:54 +02:00
Thibault Delavallée d363a5adba [IMP] mass_mailing: mailing list: better managemetn of contacts
- choose contacts without mailing list
- at creation, dynamically set the contacts to the mailing list then update
the list domain

bzr revid: tde@openerp.com-20140331110756-mhraczkk1i8tr62p
2014-03-31 13:07:56 +02:00
Thibault Delavallée 083f643618 [IMP] mass_mailing: improved statistics + form view + some code cleaning in stat model
bzr revid: tde@openerp.com-20140328135907-nfa9h1zrs4w8la6f
2014-03-28 14:59:07 +01:00
Thibault Delavallée 900705ca5b [IMP] mass_mailing: added a new menu entry to create a new mailing list
that calls a new wizard, allowing to select contacts/customers/leads and create a new
mailing list.
Also updated default values in action 'create mailing list' for contact, customer and leads.
Also removed minimal form view on list, using only one view, with technical fields put
in group_no_one.

bzr revid: tde@openerp.com-20140327154606-7zrzi1ri1hfaxtay
2014-03-27 16:46:06 +01:00
Thibault Delavallée dae3551132 [IMP] mass_mailing: usability improvements
- from mass_mailing, creating or editing a template now goes through a wizard to avoid
tweaking too much the email.template view. This allows an easier management of templates
and their link with mailings.
- moved email.template minimal form view from email_tmeplate to mass_mailing, because it
is the sole module to use it. Tweaked it a bit by the way.
- removed dead code about actions not used anymore in mass_mailing
- empty list help on mail.mass_mailing.list
- various small usability fixes

bzr revid: tde@openerp.com-20140327130827-h9dy2m6mq10gzg1s
2014-03-27 14:08:27 +01:00
Thibault Delavallée c5d8eac150 [IMP] [FIX] mass_mailing: email_to, for testing purposes, is back to
a char field. Template is sent wihout being rendered.
Also improved name_get on contact (name <email>).

bzr revid: tde@openerp.com-20140325161813-ixxh8jdb6iliqtso
2014-03-25 17:18:13 +01:00
Thibault Delavallée a2c5e27901 [FIX] mass_mailing: do not perform the mass mailing when not having recipients.
bzr revid: tde@openerp.com-20140325155127-luvpmen8lambhiou
2014-03-25 16:51:27 +01:00
Thibault Delavallée 38541d8d2d [IMP] mass_mailing: cleaned and fixed mass mailing.send_all + added an onverride
of the controller to be able to unsubscribe from leads.

bzr revid: tde@openerp.com-20140325154114-er4o489y3w3ng10f
2014-03-25 16:41:14 +01:00
Thibault Delavallée 7945d4bb97 [IMP] email_template: added a minimal form view + some custo in mass mailing views
bzr revid: tde@openerp.com-20140324171017-mcv5m493zpba5tgd
2014-03-24 18:10:17 +01:00
Thibault Delavallée b9cbb48ca3 [IMP] mass_mailing: improved send_mail method (WIP). Also added
first fradt of adding an unsubscribe link in the sent emails. Added a controller
managing this unsubscription. It is based on model, res_id and mailing_id, allowing
to find the customer / lead / contact; but the email is added in the link to 
avoid allowing people unsubscribing random people using res_id generation.

bzr revid: tde@openerp.com-20140321172139-sak10zs2g31xj0t4
2014-03-21 18:21:39 +01:00
Thibault Delavallée e42a69b10a [FIX] [IMP] mass_mailing: campaign form view: button to duplicate
a mailing is now effectively implemented.

bzr revid: tde@openerp.com-20140320175004-3vlhdw6pnfdsx5hn
2014-03-20 18:50:04 +01:00
Thibault Delavallée ae92bbf2e2 [IMP] mass_mailing: various usability improvements
- See recipients on mailing form view: now opens the recipients in a popup,
- Added a minimal form view for the contact list, used in the actions to create
after choosing filter / domain / recipients, to avoid confusing the user,
- Various small fixes in kanban view of campaign,
- contact_list_ids m2m is now no_create, because there is a button to do it
properly
- changing model now reset the template

bzr revid: tde@openerp.com-20140320170455-6vvudpin2bsp8ida
2014-03-20 18:04:55 +01:00
Thibault Delavallée a581d864a2 [IMP] mass_mailing: improved test send / send to all
- now workign on various models, taking the correct recipient (email, partner_id for partner or lead)
- improved test send: use email_to, now a many2many on contact model to ease the use of templates
- added action to create a mailing list from leads
- moved a res.partner dedicated action to its own file
- added an actoin to create a mailing list from contacts
- fixed mail_mail post_process: use mail_sent variable as mail.state is not available

bzr revid: tde@openerp.com-20140318164117-f2aou25u633j8m57
2014-03-18 17:41:17 +01:00
Thibault Delavallée aef967eefc [IMP] mass_mailing :
- cleaned management of domains in contact lists, now having a method to compute the global domain
of several lists;
- added action to see the contacts of a mailing + contact number correctly counter

bzr revid: tde@openerp.com-20140318130428-8f4kp0ve2lf1rafe
2014-03-18 14:04:28 +01:00
Thibault Delavallée 9845285781 [IMP] mass_mailing: mailing_type -> mailing_model, because
this is basically a model. yay.

bzr revid: tde@openerp.com-20140317171612-lgnaojfadbkwowcw
2014-03-17 18:16:12 +01:00
Thibault Delavallée b4a5960e14 [REM] Dead code
bzr revid: tde@openerp.com-20140317165737-lr1vb8b5x27ykrq9
2014-03-17 17:57:37 +01:00
Thibault Delavallée 61f90f4581 [IMP] mass_mailing: campaign and mailing kanban view update
to match new specs, removed unnecessary CSS.

Also added a sent field on mail mail statistics, to be able to count the
number of really sent emails.

bzr revid: tde@openerp.com-20140317160919-7sx7ja28zaxid67t
2014-03-17 17:09:19 +01:00
Thibault Delavallée 11a1c91c55 [REF] mass_mailing: moved files in models/data/views directories.
bzr revid: tde@openerp.com-20140317143231-4jp3egoqvolenwxs
2014-03-17 15:32:31 +01:00