Commit Graph

17 Commits (fe541915ff1c0755ed0eac1f01784cad9c55c724)

Author SHA1 Message Date
David e981f3cc6d [MIG] mail_tracking: Migration to 17.0
TT49060
2024-06-11 10:08:14 +02:00
payen000 f25a4a31e6 [MIG] mail_tracking: Completed migration to 16.0
The following changes were implemented:

1 - Added Failed Message component and related components to reuse the
    Message component when rendering failed messages. This allows us to
    dispose of the messagefailed JS model altogether, since failed messages
    are now just regular messages that were marked as failed.

2 - Added Owl reactivity to failed message actions so that browser does
    not have to be reloaded each time a message is marked as reviewed or
    resent.

3 - Fixed 'Retry' and 'Set as reviewed' flows for failed messages.

4 - Fixed `Failed sent messages` filter on models by overriding `get_view`
    instead of `_fields_view_get`

5 - Refactored folder structure to more closely resemble the `mail`
    module's folder structure.

6 - Refactored module to utilize `Command` as a means to create, write,
    etc. instead of `[0, ...]`, `[4, ...]`.

7 - Fixed and added unit tests.

8 - Removed dead/unused code from `v15`.
2024-06-11 09:51:53 +02:00
David 0de49f2acd [FIX] mail_tracking: failed messages in thread
- Recover the failed messages box in the mail.thread
- Fix failed message box template issues
- Remove dead code
- Fix send_email() method signature
- Fix patch methods js files paths
- Update roadmap

TT44683
2024-06-11 09:51:53 +02:00
David e0a4c5b1fe [FIX] mail_tracking: thread permissions
If a user tries to read a thread on a record and one message is from a
partner on which he has no permissions, there will be an exception as
this method tries to fetch info from such partner.

TT43075
2024-06-11 09:51:53 +02:00
Thierry Ducrest 4d6d8cbb17 Fix mail tracking bounce notification not logged
This is to resolve the following issue:

* https://github.com/OCA/social/issues/1121
2024-06-11 09:51:53 +02:00
sergio-teruel 89e10b9310 [FIX] mail_tracking: Crash to add malformed emails to recipients suggestions 2024-06-11 09:51:53 +02:00
simonev b62aadeea8 [14.0][MIG] mail_tracking 2024-06-11 09:51:53 +02:00
Areeb Siddiqi 560d49cc42 [IMP] mail_tracking: black, isort, prettier 2024-06-11 09:51:53 +02:00
Alexandre D. Díaz dd9bced5ef [FIX] mail_tracking: Store cc 2024-06-11 09:51:53 +02:00
Alexandre Díaz aa8e1e6481 [IMP] mail_tracking: Store To recipients and omit aliases 2024-06-11 09:42:19 +02:00
Alexandre Díaz b52322594c [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.
2024-06-11 09:42:19 +02:00
Alexandre Díaz c3d54d0784 [MIG] mail_tracking: Migration to 13.0 2024-06-11 09:42:19 +02:00
Alexandre Díaz 3b77c528f9 [IMP] mail_tracking: black, isort 2024-06-11 09:42:19 +02:00
Alexandre Díaz b5ee63dec6 [IMP] mail_tracking: Failed Messages to 12.0 2024-06-11 09:42:19 +02:00
David 2d0c3b7633 [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.
2024-06-11 09:42:19 +02:00
Alexandre Díaz 1756ce1498 [FIX] mail_tracking: Repeated suggested cc emails 2024-06-11 09:42:19 +02:00
Alexandre Díaz ca30aa43bb [IMP] mail_tracking: Cc 2024-05-30 13:53:46 +02:00