Commit Graph

9 Commits (9b4eb4c55e30fba687f992016d0f1369fbd41f9e)

Author SHA1 Message Date
Jairo Llopis 66fb64d41a
[FIX] mail_tracking: process sent events
Up until now, the `sent` event type was never processed, probably because it "made no sense", as an unsent email would never trigger an event.

However, it makes sense to process it because you may have a local relay that transmits mails over to the mail provider. In those circumstances, you should have 2 "sent" events (one from the relay and another one from the provider).

Also marked some useless parts of code for removal.

@Tecnativa TT32365
2021-11-23 12:08:20 +00:00
Alexandre Díaz 62d04f9d7d [MIG] mail_tracking: Migration to 13.0 2020-02-05 17:32:40 +01:00
Alexandre Díaz c16bb47d6f [IMP] mail_tracking: black, isort 2020-02-05 16:34:45 +01:00
David 8f30f4daa9 [MIG] mail_tracking: Migration to 11.0 2020-02-05 14:57:34 +01:00
eLBati 09ff021613 IMP mail_tracking performances
On our server,
queries based on "mail_tracking_event"."tracking_email_id" improved from 501,924 ms to 1,840 ms
queries based on "mail_tracking_email"."mail_message_id" improved from 167,436 ms to 3,223 ms

The last ones are run several times when a thread has many messages
2020-02-05 14:57:34 +01:00
Antonio Espinosa a1035abf89 [8.0][FIX][mail_tracking] Use event recipient address to find partners and contacts to bounce (#133) 2020-02-05 14:57:34 +01:00
Antonio Espinosa c02aa2b5bb [IMP] mail_tracking performance and bounce process (#103) 2020-02-05 14:57:34 +01:00
Damien Bouvy a4b0b20d57 [MIG] mail_tracking: Migrated to 10.0 2020-02-05 14:57:34 +01:00
Antonio Espinosa 0a5c9adcd7 [8.0][ADD] mail_tracking addon (#67)
* [ADD] mail_tracking addon

* Add description icon

* Fixes remarked

* Fix Travis error

* Remarks fixed
2020-02-05 14:57:34 +01:00