Commit Graph

14 Commits

Author SHA1 Message Date
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
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
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
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 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 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
Thibault Delavallée 128d7f39c8 [IMP] mass_mailing: using delivered instead of bounced in kanban views
bzr revid: tde@openerp.com-20130910152933-3xb34l0xyhj9yh21
2013-09-10 17:29:33 +02:00
Thibault Delavallée ce8c987089 [IMP] mail, email_template, mass_mailing: improvev mass mailing management in mail.compose.message + form view cleanings + some fixes in mail_mail about set_opened/replied/bounced, now checking that ids effectively exist
bzr revid: tde@openerp.com-20130910151901-nhuwvtrkbwekyh7x
2013-09-10 17:19:01 +02:00
Thibault Delavallée 43bfef6918 [FIX] mass_mailing: fixed sparkline computation for opened and replied emails, using dates and group_by; fixed demo data
bzr revid: tde@openerp.com-20130910121123-uu4hplm91xb5aexi
2013-09-10 14:11:23 +02:00
Thibault Delavallée 316ce91243 [IMP] mass_mailing
Added delivered field, number of delivered emails
Improved kanban view of mass mailing campaign
Improved statistics of segments, now daily instead of monthly

bzr revid: tde@openerp.com-20130910104623-7ljg0q9pebbcqk7m
2013-09-10 12:46:23 +02:00
Thibault Delavallée 903ca548c7 [IMP] mass_mailing: added kanban views for mass_mailing, implemented segment for campaigns. Moved sparkline and gauge widgets to web.
Segment: template, date, mails.
Campaign: grouped statistics.

bzr revid: tde@openerp.com-20130903145936-nwy250w1suxmtbl3
2013-09-03 16:59:36 +02:00
Thibault Delavallée 33fd9e01d6 [ADD] mass_mailing: added module for mass mailign campaigns. First draft of new module :
simple mass mailing campaign model, linked to emails, compute some statistics
mail.compose.message updated to the mass mailing campaigns in mass mail mode

bzr revid: tde@openerp.com-20130807130334-nwd34fgsz4lc6lt1
2013-08-07 15:03:34 +02:00