Commit Graph

30 Commits

Author SHA1 Message Date
Alexandre Díaz
db068ba018 [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.
2022-04-20 14:46:21 +05:30
Alexandre Díaz
fc7d2e9f3a [MIG] mail_tracking: Migration to 13.0 2022-04-20 14:46:21 +05:30
Alexandre Díaz
200e016ab8 [IMP] mail_tracking: black, isort 2022-04-20 14:46:21 +05:30
Alexandre Díaz
5f9e8ff95e [FIX] mail_tracking: Refresh thread widget when sets a message as reviewed
Previous this commit, failed messages widget data wasn't updated properly when you
set as reviewed/retry the last message displayed.

This commit resolve the problem and improves the "set as reviewed" action to avoid
multi-user inconsistencies (don't toggle the value).
2022-04-20 14:46:21 +05:30
Alexandre Díaz
eba1e0de8a [IMP] mail_tracking: Failed Messages to 12.0 2022-04-20 14:46:21 +05:30
Alexandre Díaz
5ec699ab9a [IMP] mail_tracking: translations 2022-04-20 14:46:21 +05:30
Alexandre Díaz
d3ddffb54b [IMP] mail_tracking: Convert 'partner_trackings' to dict 2022-04-20 14:46:21 +05:30
Alexandre Díaz
7ef6c69205 [IMP] mail_tracking: Cc name & check if mail is Cc 2022-04-20 14:46:21 +05:30
David
61463fc530 [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.
2022-04-20 14:46:21 +05:30
Alexandre Díaz
ef83aacf9a [FIX] mail_tracking: Repeated suggested cc emails 2022-04-20 14:46:21 +05:30
Alexandre Díaz
6513662533 [MIG] mail_tracking: Adapt Cc to 12.0 2022-04-20 14:46:21 +05:30
Alexandre Díaz
c2fd8c95fc [IMP] mail_tracking: Cc 2022-04-20 14:46:21 +05:30
Pedro M. Baeza
71b67a5475 [FIX] mail_tracking: Don't call write inside other write
Or infinite recursions will happen on other `write` overwrites, like the one that happens
on `mass_mailing_partner`.
2022-04-20 14:46:21 +05:30
ernesto
cd1d3be640 [MIG] mail_tracking: Migration to 12.0 2022-04-20 14:46:21 +05:30
David Vidal
f1259fc0ec [IMP] mail_tracking: email score performance (#299) 2022-04-20 14:46:21 +05:30
David
4c0a9e46c9 [MIG] mail_tracking: Migration to 11.0 2022-04-20 14:46:21 +05:30
eLBati
86031a98a9 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
2022-04-20 14:46:21 +05:30
Antonio Espinosa
2c5a5647db [FIX] mail_tracking: bugfixes (#199)
* [FIX] Only one data-odoo-tracking-email tag in each email
* [FIX] Get status even in multicompany instances
2022-04-20 14:46:21 +05:30
Pedro M. Baeza
adbd66323f [FIX] mail_tracking: Obtain outgoing server with sudo
As regular users can't access this object.
2022-04-20 14:46:21 +05:30
Antonio Espinosa
3cfe3a2234 [9.0][FIX][mail_tracking] Control exception when mail_message was removed (#132) 2022-04-20 14:46:21 +05:30
Antonio Espinosa
3b5ee4cd61 [8.0][FIX][mail_tracking] Use event recipient address to find partners and contacts to bounce (#133) 2022-04-20 14:46:21 +05:30
Antonio Espinosa
527a8d09c5 Add access to portal/public user to his own email trackings 2022-04-20 14:46:21 +05:30
Antonio Espinosa
bc98b9d162 [IMP] mail_tracking: Allow to define a custom mail_tracking base url 2022-04-20 14:46:21 +05:30
Antonio Espinosa
6e5de16361 [IMP] mail_tracking performance and bounce process (#103) 2022-04-20 14:46:21 +05:30
Damien Bouvy
4798d3c817 [MIG] mail_tracking: Migrated to 10.0 2022-04-20 14:46:21 +05:30
Pedro M. Baeza
8ec641e750 [FIX] mail_tracking: Typo 2022-04-20 14:46:21 +05:30
Antonio Espinosa
022cb28145 [MIG] mail_tracking
* Improve tests
* Show trackings even if partner removed
* Disable CSRF protection to webhooks controllers
2022-04-20 14:46:21 +05:30
Antonio Espinosa
1d01bf8fb7 [FIX] Update email_score when email changes 2022-04-20 14:46:21 +05:30
Antonio Espinosa
7a684c6e66 [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
2022-04-20 14:46:21 +05:30
Antonio Espinosa
3d302148c1 [8.0][ADD] mail_tracking addon (#67)
* [ADD] mail_tracking addon

* Add description icon

* Fixes remarked

* Fix Travis error

* Remarks fixed
2022-04-20 14:46:21 +05:30