Commit Graph

9 Commits (5b0429e376b47c3add05568cda7b50c5d096aea1)

Author SHA1 Message Date
payen000 ef73e2d7ab [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`.
2023-10-09 07:55:22 -07:00
David c8fd2a18c9 [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
2023-09-25 07:40:36 -07:00
dhx e801690097 [IMP] mail_tracking: New config parameter to disable the tracking image
- As the tracker img in the body is currently also used to set the
  X-Odoo-MailTracking-ID mail header we can remove the tag only
  after this is done
- Added tests to check for the presence and absence of the tracking
  image tag depending on the new configuration parameter
2023-09-25 07:40:36 -07:00
houssine 2c35e9bede [PEP8] pre-commit 2023-09-25 07:40:35 -07:00
Alexandre Díaz 7a099500e4 [IMP] mail_tracking: Store To recipients and omit aliases 2023-09-25 07:40:35 -07:00
Alexandre Díaz 8100ec4899 [IMP] mail_tracking: Failed Messages to 12.0 2023-09-25 07:40:35 -07:00
David 8a52d2a98a [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.
2023-09-25 07:40:35 -07:00
Alexandre Díaz 592b9d12ca [MIG] mail_tracking: Adapt Cc to 12.0 2023-09-25 07:40:35 -07:00
ernesto d6d4142cd9 [MIG] mail_tracking: Migration to 12.0 2023-09-25 07:40:35 -07:00