Commit Graph

32 Commits (35ce26ce3fae1a6c09626ed5db4df1f8384e7f28)

Author SHA1 Message Date
Alexandre Díaz 923debe5d9 [FIX] mail_tracking: Changed injection method for 'failed_message_ids' field
Before this commit, some methods with views crashes trying to
process 'failed_message_ids' field.
After this commit the 'failed_message_ids' field description
is properly generated.
2019-12-16 14:47:14 +01:00
Alexandre Díaz 096175532b [IMP] mail_tracking: Buttons, discuss, empty mails 2019-11-07 02:45:21 +01:00
david e419a90352 [FIX] avoid bounce on 'error' event
Catching this event as a bounce leads quite often to false bounces, like
in the cases the error is due to our own instance SMTP errors. Errors
like a too large message should no bounce a thread's recipients as the
problem isn't in the recipients side but ours.

We leave anyway some true positives aside (like in the case of malformed
email addresses). We should be able to detect and fix those anyway.
2019-11-05 10:18:51 +01:00
Alexandre Díaz b66eea4865 [IMP] mail_tracking: Discuss - Failed buttons 2019-10-22 00:09:57 +02:00
Alexandre Díaz 75b966269b [IMP] mail_tracking: Failed Messages (Discuss & View) 2019-10-13 21:55:27 +02:00
Alexandre Díaz bc759d49ea [IMP] mail_tracking: Filter messages with errors 2019-10-13 21:40:52 +02:00
David 15d86bed66 [IMP] mail_tracking: mail.thread filter for tracking errors
- Any model inheriting from mail.thread will have a filter available to
obtain records with errors in their messages trackings.
- The messages can be marked as done to avoid false positives when the
issues are solved.
2019-10-13 21:40:52 +02:00
Sergio Teruel 7c7b161fa1 [FIX] mail_tracking: Fix message_post inherited method arguments 2019-08-27 11:23:56 +00:00
Pedro M. Baeza f47ad83824
[FIX] mail_tracking: Don't change message_post signature
It doesn't have `*args`.

Fixes #428
2019-08-23 11:12:19 +02:00
Alexandre Díaz a8f02cf4af [IMP] mail_tracking: translations 2019-08-22 08:13:32 +00:00
Alexandre Díaz 5ab3ecba7f [IMP] mail_tracking: Convert 'partner_trackings' to dict 2019-08-22 08:13:32 +00:00
Alexandre Díaz 5200bfa592 [IMP] mail_tracking: Refactor how Cc is printed 2019-08-22 08:13:32 +00:00
Alexandre Díaz a576a29221 [IMP] mail_tracking: Cc name & check if mail is Cc 2019-08-22 08:13:32 +00:00
Alexandre Díaz 029c8daf9c [FIX] mail_tracking: Repeated suggested cc emails 2019-07-22 18:15:12 +02:00
Alexandre Díaz 8b89ab39be [IMP] mail_tracking: Cc 2019-07-11 15:55:37 +00:00
David ea04357131 [FIX] mail_tracking: wrong bounced partner
- Partner get bounced when his associated email is in a hard bounced
tracking. It didn't matter if the hard bounce event was solved in that
recipient later and leaded to an increasing number of false positives.
- We also use the email_bounced_set() method to get the whole bounce
info in case positive.
2018-12-11 11:27:07 +01:00
David Vidal 361db61677 [IMP] mail_tracking: email score performance (#299) 2018-09-06 11:24:20 +02:00
David bae9999b19 [MIG] mail_tracking: Migration to 11.0 2018-05-07 10:22:39 +01:00
eLBati 4173794526 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
2018-05-07 10:22:39 +01:00
Antonio Espinosa 9c2236056d [FIX] mail_tracking: bugfixes (#199)
* [FIX] Only one data-odoo-tracking-email tag in each email
* [FIX] Get status even in multicompany instances
2018-05-07 10:22:39 +01:00
Pedro M. Baeza 015f796404 [FIX] mail_tracking: Obtain outgoing server with sudo
As regular users can't access this object.
2018-05-07 10:22:39 +01:00
Antonio Espinosa 866bd3b6d0 [9.0][FIX][mail_tracking] Control exception when mail_message was removed (#132) 2018-05-07 10:22:39 +01:00
Antonio Espinosa aa5628abbd [8.0][FIX][mail_tracking] Use event recipient address to find partners and contacts to bounce (#133) 2018-05-07 10:22:39 +01:00
Antonio Espinosa 83242949d7 Add access to portal/public user to his own email trackings 2018-05-07 10:22:39 +01:00
Antonio Espinosa d07558c455 [IMP] mail_tracking: Allow to define a custom mail_tracking base url 2018-05-07 10:22:39 +01:00
Antonio Espinosa dedd39493a [IMP] mail_tracking performance and bounce process (#103) 2018-05-07 10:22:39 +01:00
Damien Bouvy 2cb4a5b628 [MIG] mail_tracking: Migrated to 10.0 2018-05-07 10:22:39 +01:00
Pedro M. Baeza 7c95d2b909 [FIX] mail_tracking: Typo 2018-05-07 10:22:39 +01:00
Antonio Espinosa 2a16997c1c [MIG] mail_tracking
* Improve tests
* Show trackings even if partner removed
* Disable CSRF protection to webhooks controllers
2018-05-07 10:22:39 +01:00
Antonio Espinosa 6585c28029 [FIX] Update email_score when email changes 2018-05-07 10:22:39 +01:00
Antonio Espinosa 2ce03efc7f [8.0][IMP][mail_tracking] Speed installation time and discard concurrent events (#82)
[IMP] mail_tracking: Speed installation time, discard concurrent events and other fixes
2018-05-07 10:22:39 +01:00
Antonio Espinosa 9443c971af [8.0][ADD] mail_tracking addon (#67)
* [ADD] mail_tracking addon

* Add description icon

* Fixes remarked

* Fix Travis error

* Remarks fixed
2018-05-07 10:22:39 +01:00