Commit Graph

10 Commits (19fa67da3aa7ef7bcfd7cc61279ba965a7ede15b)

Author SHA1 Message Date
Jairo Llopis 003ee3ee10 [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
2023-09-25 07:40:35 -07:00
Jasmin Solanki e8b450d383 [MIG] mail_tracking: Migration to 15.0 2023-09-25 07:40:35 -07:00
Alexandre Díaz 4acc95a031 [MIG] mail_tracking: Migration to 13.0 2023-09-25 07:40:35 -07:00
Alexandre Díaz 6b980a571d [IMP] mail_tracking: black, isort 2023-09-25 07:40:35 -07:00
David 715618fcb0 [MIG] mail_tracking: Migration to 11.0 2023-09-25 07:40:35 -07:00
eLBati 210de915b1 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
2023-09-25 07:40:35 -07:00
Antonio Espinosa 12b34c5347 [8.0][FIX][mail_tracking] Use event recipient address to find partners and contacts to bounce (#133) 2023-09-25 07:40:35 -07:00
Antonio Espinosa d9e6e655dc [IMP] mail_tracking performance and bounce process (#103) 2023-09-25 07:40:35 -07:00
Damien Bouvy dcee7f8373 [MIG] mail_tracking: Migrated to 10.0 2023-09-25 07:40:35 -07:00
Antonio Espinosa 0ddcb83ef2 [8.0][ADD] mail_tracking addon (#67)
* [ADD] mail_tracking addon

* Add description icon

* Fixes remarked

* Fix Travis error

* Remarks fixed
2023-09-25 07:40:35 -07:00