Commit Graph

161 Commits

Author SHA1 Message Date
Thibault Delavallée fee0d0100d [FIX] read_group: someone added a field, thought it was fun to destroy
the method call.

bzr revid: tde@openerp.com-20140411124732-e22dzjmav0tuhag5
2014-04-11 14:47:32 +02:00
Thibault Delavallée 8178669795 [FIX] mail, mass_mailing
- mail: now trigger postprocess_sent_message in every case, being sent or not, as the state
is propagated in the method; udpated all addons accordingly;
- email_template: fixed URL to edit it in website + form view;
- mass_mailing: barchart now send jsonified value;
- mass_mailing: tweaking the form view with all options

bzr revid: tde@openerp.com-20140408124053-o9tb14k6v47s5mjd
2014-04-08 14:40:53 +02:00
Thibault Delavallée cbfc26fe77 [FIX] mass_mailing: depends on website_mail, not only website
bzr revid: tde@openerp.com-20140408114101-hi6w0c02vxds6n4q
2014-04-08 13:41:01 +02:00
Thibault Delavallée 7c3807b61e [REM] mass_mailing: removed create_template wizard, not used anymore
bzr revid: tde@openerp.com-20140408113316-sqwjz3al6xk5kohf
2014-04-08 13:33:16 +02:00
Thibault Delavallée 58e53d2e31 [IMP] mass_mailing: form view improvements using stat button + failed tracking
on statistics. This comes with a web branch to fixes the statbuttons.

bzr revid: tde@openerp.com-20140408113029-ezjlbzbn3j26f43w
2014-04-08 13:30:29 +02:00
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
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
Thibault Delavallée 08ab922468 [IMP] [REF] mass_mailing: first draft for the saas-4 refactoring.
Improved mass mailing form view, that is used as a central point to create new
mailings.
Added concept of contact list (based on partner, or leads (to add)), as well as
contact (a list of name / email to import). Mailings are done un contact list
to simplify the way it works.
Added a kanban view of templates, with a flag to filter only mass mailing templates
(to avoid havign to deal with acknoledgments).
Using campaigns is now an option (a group), mailings can be done without having to
deal with campaigns.
Mailings and campaigns now have a status, used to display their kanban view.

bzr revid: tde@openerp.com-20140314165113-g4gvvifrhr2nfu15
2014-03-14 17:51:13 +01:00
Thibault Delavallée 035ad13316 [FIX] mass_mailing: still fixing issues due to read_group update
done in saas-3. Indeed it now returns a date or datetime depending on the field type
whether before saas-3 only a date was returned.

bzr revid: odo@openerp.com-20140219123505-7lvstb3x9mdv0gr0
2014-02-19 13:35:05 +01:00
Olivier Dony bbd813e76e [MERGE] Forward-port of latest saas-2 (incl. 7.0) bugfixes, up to rev. 9127 odo@openerp.com-20140212122042-3m2tysmr31mtecnc
bzr revid: odo@openerp.com-20140212175141-i9yz8zlseglrk8sb
2014-02-12 18:51:41 +01:00
Thibault Delavallée a7c7e33131 [FIX] mass_mailing: fixed variables used outside of their scope
bzr revid: tde@openerp.com-20140204165949-9xax1pul22ktsf41
2014-02-04 17:59:49 +01:00
Fabien Meghazi e974e1fbea [REM] remove disable_db and ensure_db() from addons
bzr revid: fme@openerp.com-20140130092308-s24a7h2mhzuaasf1
2014-01-30 10:23:08 +01:00
Fabien Meghazi c4e48e2388 [REM] Removed auth='admin' from modules
bzr revid: fme@openerp.com-20140129171520-wkz8ot4pa63utoi3
2014-01-29 18:15:20 +01:00
Gery Debongnie 4845221231 [FIX] fixes the call to read_group to make it use the new way to group dates by interval, instead of using the context (addon mass mailing)
bzr revid: ged@openerp.com-20140122122251-t0yrrjfa6ob5eoj0
2014-01-22 13:22:51 +01:00
Christophe Simonis 91aaaec0a5 [MERGE] forward port of branch saas-2 up to revid 9092 dle@openerp.com-20140115165506-yuux9km39gbv7k4n
bzr revid: chs@openerp.com-20140115214454-dhl8xzr429co0j5d
2014-01-15 22:44:54 +01:00
Denis Ledoux 1478317986 [FIX] mass_mailing, marketing: menus displayed to employees only (no portal/anonymous). ACL change too.
bzr revid: dle@openerp.com-20140113151018-5xksff08s0vrjh8d
2014-01-13 16:10:18 +01:00
Thibault Delavallée 01e88881e1 [FIX] mass_mailing: do not create a new mailing wave when already specified on the compose wizard
bzr revid: tde@openerp.com-20140109141856-xrublf8oi5mkutgu
2014-01-09 15:18:56 +01:00
Thibault Delavallée 1aa92dbc46 [FORWARD] Forward port of saas-2 fixes until revision 9058 (revid tde@openerp.com-20131220162158-hbgktly09dv37958)
bzr revid: tde@openerp.com-20131220165519-2okhclp3qb3if1ey
2013-12-20 17:55:19 +01:00
Thibault Delavallée 8030688084 [FIX] mass_mailing: opening the composer when sending a new wave should not have the res_id
linked to the campaign. As we are working with mass mailing, it should be False; ids will come
from active_ids / active_domain.

bzr revid: tde@openerp.com-20131219100041-85mbafgk05u8naud
2013-12-19 11:00:41 +01:00
Thibault Delavallée 40994c2966 [FIX] mass_mailing: when creating a new wave from the mass mailing campaign
kanban view, add the campaign in default

bzr revid: tde@openerp.com-20131219095729-k5tsvmkqm2mdsnza
2013-12-19 10:57:29 +01:00
Martin Trigaux 54be818a3b [MERGE] forward port of latest saas-2 until rev 9051 dle@openerp.com-20131217142126-1lbim47d2m2x4bb0
bzr revid: mat@openerp.com-20131218155715-khb909yy99cbmna8
2013-12-18 16:57:15 +01:00
Thibault Delavallée 19eeff611e [FIX] mass_mailing: fixed previous fixes, because of order of loaded files
bzr revid: tde@openerp.com-20131210144503-ftg1y7xvs7smh269
2013-12-10 15:45:03 +01:00
Thibault Delavallée 989a0d7890 [IMP] mass_mailing: added a link to create a wave directly from the kanban view
bzr revid: tde@openerp.com-20131210141704-u9t6zlfypmi1wba3
2013-12-10 15:17:04 +01:00
Thibault Delavallée 7f7e698feb [FIX] mass_mailing: wave creation wizard: fixed closing button jumping after setting the wave name
bzr revid: tde@openerp.com-20131210141646-17y49b7xvckepogz
2013-12-10 15:16:46 +01:00
Thibault Delavallée eb722dc25a [FIX] mass_mailing: fixed model used for the mass mailing itself when creating a new wave. It was receiving active_model aka mass.mailing.create instead of the correct target model (ex res.partner when mailing partners). Also updated a field string to be clearer.
bzr revid: tde@openerp.com-20131210133934-xtydu43fkh7htxdg
2013-12-10 14:39:34 +01:00
Thibault Delavallée 75548727ec [FIX] mass_mailing: fixed label for template choice when creating a new wave of mass mailing
bzr revid: tde@openerp.com-20131210133830-rhm6t1unz6urrxxj
2013-12-10 14:38:30 +01:00
Antony Lesuisse 57ef91409a [MERGE] bootstrap3
bzr revid: al@openerp.com-20131202132445-oux9j63auh4om284
2013-12-02 14:24:45 +01:00
Christophe Simonis 0521d1aab3 [MERGE] forward port of branch saas-2 up to revid 9017 chs@openerp.com-20131127110552-3u2nxwu01gxj9i7m
bzr revid: chs@openerp.com-20131127111208-iclt7a9ib7oucumh
2013-11-27 12:12:08 +01:00
Christophe Simonis 081085c294 [FIX] mass_mailing: statistics does not have a `state` field
bzr revid: chs@openerp.com-20131124200156-7kqad8d20jlip46t
2013-11-24 21:01:56 +01:00
ima-openerp 3bf3bc3895 [IMP]improved css for base_import, mass_mailing and idea module.
bzr revid: ima@tinyerp.com-20131118121605-1rn0z4hojxblngbu
2013-11-18 17:46:05 +05:30
Antony Lesuisse 3d8b7984be import cleanups part1
bzr revid: al@openerp.com-20131022170659-kg9err029ha22evh
2013-10-22 19:06:59 +02:00
Thibault Delavallée 9e85aa3e72 [FORWARD] Forward port of saas-2 branch until revision 8931 tde@openerp.com-20131003140458-ztnd9taih2rcq8ty
bzr revid: tde@openerp.com-20131004081915-4i2rn3fsj8qzov63
2013-10-04 10:19:15 +02:00
Thibault Delavallée f72927123e [FIX] crm, sale_crm, mass_mailin: fixed computation for sparkline widgets.
Added an end date in the read_group domain. Indeed having results outside the date range
made the result computation crash because of list limits. There is now a begin and end
date for groupby domain.

bzr revid: tde@openerp.com-20131003082736-tw50xk2vmhpjh1e5
2013-10-03 10:27:36 +02:00
Fabien Pinckaers 490df83abb [IMP] typo manifest mass mailing'
bzr revid: fp@tinyerp.com-20130920112827-7m7f20rkykzikr3e
2013-09-20 13:28:27 +02:00
Fabien Pinckaers 564d918018 [IMP] typos
bzr revid: fp@tinyerp.com-20130920112647-3lxisf9fpp8u5g0o
2013-09-20 13:26:47 +02:00
Fabien Pinckaers 83fb31d7ee [IMP] Mass Mailing Manisfest
bzr revid: fp@tinyerp.com-20130920101459-zft3pwjxirfyc8b3
2013-09-20 12:14:59 +02:00
Fabien Pinckaers 26206c7f05 [IMP] reduced image
bzr revid: fp@tinyerp.com-20130920101052-4yucer88lco3do51
2013-09-20 12:10:52 +02:00
Fabien Pinckaers 21b6035098 [IMP] cross-reference in marketing campaigns
bzr revid: fp@tinyerp.com-20130920100942-sonifw69xxywhhkh
2013-09-20 12:09:42 +02:00
Fabien Pinckaers 52daaf92c4 [IMP] moved manifest
bzr revid: fp@tinyerp.com-20130920094813-2zoas8d93rn2px0m
2013-09-20 11:48:13 +02:00
Fabien Pinckaers 282db53a45 [IMP] Mass Mailing Manifest
bzr revid: fp@tinyerp.com-20130920094533-b48lqy8oc4agd3yo
2013-09-20 11:45:33 +02:00
Thibault Delavallée c17ecb54ec [FIX] addons: fixed various calls to fields.datetime.now in defaults
bzr revid: tde@openerp.com-20130919142338-v2ygkid2abw2j3wl
2013-09-19 16:23:38 +02:00
Thibault Delavallée 8ae3b158db [IMP] cleaning before merging :
- added fields on mail.mail.statistics form view to have all data;
- added comments;
- cleaned get_mail_values override now that statistics are created using o2m command

bzr revid: tde@openerp.com-20130917103555-jwhgl8y49g505ugz
2013-09-17 12:35:55 +02:00
Thibault Delavallée 643996de2b [FIX] mass_mailing: fixed bouncing tracking
mail_mail now have a statistics_ids field, allowing to create statistics when creating a mail.mail.
This is done in the mail composer, using classic o2m command. Mail_mail create is overrided to ipdate
the statistics value (message_id) that is computed directly in the create and not accessible
in the values dict.
Added model and res_id on stat model, to allow message_bounce update, without havign to rely
on the mail.mail existence.

bzr revid: tde@openerp.com-20130917094218-7jz5mnldogzhlioh
2013-09-17 11:42:18 +02:00
Thibault Delavallée fb4ab9dd0c [IMP] mass mailing: improvements :
- improved mass mailing wizard creation (everything is showed, better alignment, filter_id required, added default document on Partner)
- campaign: o2m is now readonly in form view, added an empty list help

bzr revid: tde@openerp.com-20130917085003-yof5gfy68y56ougf
2013-09-17 10:50:03 +02:00
Thibault Delavallée 1d76129a22 [FIX] mass_mailing:
- fixed forgottent import of mail_thread in mass_mailing, to enable bounce and replied tracking
- fixed replied computation in message_route_process, adding the original email in parameters
- fixed form view of campaign, to add edit and dlete now that clicking on it redirects to the waves
- added track field on mail_mail, to avoid creating too mush entries in mail.mail.statistics
- fixed mass_mailign controller

bzr revid: tde@openerp.com-20130916114706-b9zyhp0ha6mr9fzg
2013-09-16 13:47:06 +02:00
Thibault Delavallée 20f9f42ea9 [IMP] mass_mailing: improved kanban view of campaign (clicking now reidrects to mass mailings, filtered by the campaign); added search views for the various models; re-ordered view file; put demo data into demo section; added JS file for click redirection
bzr revid: tde@openerp.com-20130916101035-qre7362jyxwl4xve
2013-09-16 12:10:35 +02:00
Thibault Delavallée 426abbc65e [IMP] mass_mailing: improved various views of new objects
bzr revid: tde@openerp.com-20130913140043-wfrk7yv3qx20e5on
2013-09-13 16:00:43 +02:00
Thibault Delavallée de43093621 [IMP] mass_mailing: removed duplicate view; added views for mail.mail;statistics
bzr revid: tde@openerp.com-20130913133841-gk6axalbo1dyayhe
2013-09-13 15:38:41 +02:00
Thibault Delavallée 71d2a97a50 [IMP] mail.compose.message: simplified mass mailing use in composer
Only remaining field is mass_mailing_campaign_id; if set, a new segment is automatically created
and its id is given to the created mail.mail.statistics using default value in context

bzr revid: tde@openerp.com-20130913132234-66vl19w54znky2rc
2013-09-13 15:22:34 +02:00
Thibault Delavallée ed62d1dac7 [REF] mass_mailing: first refactor
Mail statistics are now stored onto a separated object (mail.mail.statistics), allowing to
handle emails separately from statistics (among other removing mail.mail entries while keeping
statistics).

Everything linnked to opened/replied/bounce is not managed by mass_mailing, removed added code
in mail module.

bzr revid: tde@openerp.com-20130913115408-322cyjipdg680as6
2013-09-13 13:54:08 +02:00
Thibault Delavallée f8922d6b16 [IMP] [ADD] mass_mailing: added a wizard to create new segments.
It can be called directly from within the campaign form view, using a button.
It allows to easily create new segments and launch the composer.

bzr revid: tde@openerp.com-20130912100909-ofalececxn64a389
2013-09-12 12:09:09 +02:00