Commit Graph

106 Commits

Author SHA1 Message Date
Thibault Delavallée 271e805cb8 [IMP] mass_mailing: new refactoring of the way the body is managed
- now body_html is a right field on mass_mailing, editable using the website
- email_designer controller / template now works on everything that has a body
receiving its model and res_id as post parameters; it does not work only on
email tempaltes anymore
- cleaning of the mass mailing form view: reply_to managment option (either
replied go into the document, either there is a specified reply_to; it is implemented
using boolean fields instead of a selection because all options are not available
for all models ... models like contact or partner do not have a chatter or
shoudl be be used for a chatter-like use)
- send to all now instantiates a mail.compose.message; the mass mailign processing
is delegated to the wizard itself.

bzr revid: tde@openerp.com-20140407170346-hpklabi513xskd07
2014-04-07 19:03:46 +02:00
Thibault Delavallée ea1182a691 [IMP] mass_mailing: added views + config menu in marketign + menu to
configure stages.

bzr revid: tde@openerp.com-20140404154326-ticujj6f7djg2o4a
2014-04-04 17:43:26 +02:00
Thibault Delavallée f84a23ed5c [IMP] mass_mailing: campaigns: some refactoring !
- state is now stage_id, many2one towaqrds a newly added stage model, allowing to
tune your process of mailign campaigns. Todo: menu to configure stages + access rights.
- cleaned campaign kanban view, to be smaller.
- added statbuttons in form view of campaigns

bzr revid: tde@openerp.com-20140404153432-b171x0frbfepyfkn
2014-04-04 17:34:32 +02:00
Thibault Delavallée 85283237ad [IMP] mass_mailing: still working / refactorign the form view of mailing
to ease the use (mmmh).

Mainly :
- added website as a dependance to have the rich editor (well ...)
- form view refactoring
- some fileds will be added / removed to ease the mailign definition

bzr revid: tde@openerp.com-20140404150350-x00wxgzp4c71zmzv
2014-04-04 17:03:50 +02:00
Thibault Delavallée 08044cd2a2 [FIX] mass_mailing: stat button should redirect to the report view, not to a create menu wizard
bzr revid: tde@openerp.com-20140403153014-v0w4z280e2gxrh7u
2014-04-03 17:30:14 +02:00
Thibault Delavallée 28fe375aac [ADD] mass_mailing: new wizard to better handle list creatoin
and better managemetn from the mass mailing form view (still WIP).

Also integrated basic statbutton, but they have to be improved.

bzr revid: tde@openerp.com-20140403152329-u81p60c7f8rgypaz
2014-04-03 17:23:29 +02:00
Thibault Delavallée 03071cacf0 [ADD] mass_mailing: added files cited in the previous commit ^^
bzr revid: tde@openerp.com-20140403131644-2gdpg52gkxm9tf54
2014-04-03 15:16:44 +02:00
Thibault Delavallée b6eeedea7d [IMP] mass_mailing: testing the mailing is now done using a wizard, to avoid
bloating the mailing ofrm view

bzr revid: tde@openerp.com-20140403125905-sq6ksthkahna29ud
2014-04-03 14:59:05 +02:00
Thibault Delavallée ee9967443f [IMP] mass_mailing: misc improvement sin mass mailing and campaign form / kanban views
about statistics. Will be improved when statbutton are available.

bzr revid: tde@openerp.com-20140401135352-zqfm8tgo1jx6z5zc
2014-04-01 15:53:52 +02:00
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 e0134a2bfa [IMP] mass_mailing: create wizard: do not inherit from
mailing list anymore, just have the necessary fields to simplify

bzr revid: tde@openerp.com-20140331110626-iewarhctoyoaucsg
2014-03-31 13:06:26 +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 2967919465 [IMP] mass_mailing: report: copy and paste typos
bzr revid: tde@openerp.com-20140328135840-w1yfmzp9y6p9dh1r
2014-03-28 14:58:40 +01:00
Thibault Delavallée d7db8a22f6 [IMP] mass_mailing: trackign url: add database name in parameters
bzr revid: tde@openerp.com-20140328132052-oktsqtpmaez8wax6
2014-03-28 14:20:52 +01:00
Thibault Delavallée bd9e3bc538 [FIX] mass_mailing: make the tracking controller effectively return an image -_-
bzr revid: tde@openerp.com-20140328132007-jbcmxcu9g35ct7gk
2014-03-28 14:20:07 +01:00
Thibault Delavallée 14f1c7836e [IMP] mass_mailing: when creating a new list, display
customers / contacts / leads available for mass mailing using a default search
fitler.

bzr revid: tde@openerp.com-20140328105308-cp4n11lnd5ov8gef
2014-03-28 11:53:08 +01:00
Thibault Delavallée 3a68e4a98d [FIX] mass_mailing: added security rules on mass mailing report
bzr revid: tde@openerp.com-20140328103941-hqyt8p5dzeil4bks
2014-03-28 11:39:41 +01:00
Thibault Delavallée 5fa2297aff [ADD] mass_mailing: added base for mass mailing analysis. Currently void analysis.
- added marketing menu in report, menu added by marketing
- adde dskeleton for mass mailing report + skeleton for graph veiws

bzr revid: tde@openerp.com-20140328102601-pzrtkuble3icdj1g
2014-03-28 11:26:01 +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 1636369747 [IMP] mass_mailing: create template: hide mass_mailing_id field
bzr revid: tde@openerp.com-20140327141259-fs2eazs27qzgp54u
2014-03-27 15:12:59 +01:00
Thibault Delavallée b0488c5974 [REM] mass_mailing: removed some demo data
bzr revid: tde@openerp.com-20140327133144-sat7kxo7kg6z49io
2014-03-27 14:31:44 +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 dc7398fdd3 [IMP] mass_mailing: use_in_mass_mailing in email_template help
more clear + some explanations in form view

bzr revid: tde@openerp.com-20140327104141-xjx3xy8miw9c28gs
2014-03-27 11:41:41 +01:00
Thibault Delavallée 8250138326 [IMP] mass_mailing: manifest: add a summary, increase the version number
bzr revid: tde@openerp.com-20140327103915-i2n6jojx4huzo2cs
2014-03-27 11:39:15 +01:00
Thibault Delavallée 4d0bced6f6 [IMP] mass_mailing: add empty list on mass mailing model + date is now visible
only when using campaigns, considered as an advanced settings.

bzr revid: tde@openerp.com-20140327103852-cidu24ojdl8gl02m
2014-03-27 11:38:52 +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 89b41b3056 [FIX] mass_mailing: fixed demo data, warnings about non existent
fields in demo data.

bzr revid: tde@openerp.com-20140325154246-6b97omyd4tjse7zo
2014-03-25 16:42:46 +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 6577b935eb [IMP] mass_mailing: improved inherited form view of email template
bzr revid: tde@openerp.com-20140325142640-a0vf1l84keoc35jl
2014-03-25 15:26:40 +01:00
Thibault Delavallée 3c79803ce0 [FIX] mass_mailing: fixed email_template preview model
that inherit from email_template; however with the inheritance mechanism of openerp
it is not updated when email_template itself is updated, therefore having to force
an update with a dummy inheritance.

bzr revid: tde@openerp.com-20140325142621-fbxa2gmeo52zf4qw
2014-03-25 15:26:21 +01:00
Thibault Delavallée b01ecbec97 [FIX] mass_mailing: email_template: finally found how to specify
a form view id in an action; do not use view_id that seems to be used for
that, but changes the view order (always form by default)... bleurg.

bzr revid: tde@openerp.com-20140325093007-g3hy9m8kcac9x1xs
2014-03-25 10:30:07 +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 3752e22481 [FIX] mail.compose.message: display mass mailing data only in mass mailing mode
bzr revid: tde@openerp.com-20140324140051-ijza7tn0w2ljgs4j
2014-03-24 15:00:51 +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 7e7260664d [IMP] mass_mailing: delete option added in kanban view of mass mailings
bzr revid: tde@openerp.com-20140320175102-tw5htuv0warh743l
2014-03-20 18:51:02 +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 4583c1829b [DEMO] mass_mailing: updated demo data
bzr revid: tde@openerp.com-20140318163918-x1jg382boqdci0l3
2014-03-18 17:39:18 +01:00
Thibault Delavallée feadcf402c [FIX] mass_mailing: fixed wrong method called in composer
bzr revid: tde@openerp.com-20140318132017-lx3c4yd9rbelc1an
2014-03-18 14:20: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 030941e192 [DEMO] mass_mailing: updated demo data, sent field new on mail mail stats updated
bzr revid: tde@openerp.com-20140317165713-gh87h9nvfvecm5y0
2014-03-17 17:57:13 +01:00
Thibault Delavallée 73a7dc58d1 [IMP] mass_mailing: improved campaign management in mass mailing wizard
- campaign appear only when having the group activated
- now choosing the mailing name, that create the mailing list + campaign
- currently limited to the valid models

bzr revid: tde@openerp.com-20140317165649-321f0wxatvj4pz5w
2014-03-17 17:56:49 +01:00
Thibault Delavallée b0522b3b79 [ADD] mass_mailing: added forgotten init file
bzr revid: tde@openerp.com-20140317165418-28c33lzbfjnzerel
2014-03-17 17:54:18 +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 b778e5c7fa [REL] mass_mailing: removed now unnecessary wizard to create a new mailing
as the form view of the mailing should be sufficient.

bzr revid: tde@openerp.com-20140317143646-lu3yetolyy2zjxiq
2014-03-17 15:36:46 +01:00