Commit Graph

25 Commits (16.0)

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
david 7165e484e4 [FIX] mail_tracking: permissions
Refine which mail tracking record is allowed to see. We can rely on the
ACLs of the related records so we minimize inconvenient message subject
leaks.

A regular user can read these mail.tracking.email records:

- Those with a linked mail.message that the user can read
- Those with a linked mail.mail that the user can read
- Those with no message/mail link but a linked partner that the user can
read.
- Those with no linked records.

TT31399
2023-09-25 07:40:35 -07:00
sugapablo cfda85ab36 [FIX] mail_tracking: error when filtering by "Sent" 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
Fernanda Hernández 24a9f4a099 [FIX] mail_tracking: use recipient_address to search emails
This commits is using the field recipient_address in filter of search view
of mail.tracking.email in order to use the same field used in computed
method:

147eda96a5/mail_tracking/models/res_partner.py (L27)
2023-09-25 07:40:35 -07:00
houssine ec8b389096 [PORT] porting js code to comply with OWL 2023-09-25 07:40:35 -07:00
Jorge Luis Quinteros 12562dda25 [FIX] Change operator to 'ilike' 2023-09-25 07:40:35 -07:00
angelJuaGar 4a5b2a69c7 [FIX] mail_tracking: Added restriction on email search.
A filter_domain was added in the sender and recipient fields to be able to handle a more specific filter when using mail tracking.
2023-09-25 07:40:35 -07:00
Areeb Siddiqi 97cbeda338 [MIG] mail_tracking: Migration to 14.0 2023-09-25 07:40:35 -07:00
Jairo Llopis f0bba0142b [FIX] pre-commit run -a 2023-09-25 07:40:35 -07:00
Jairo Llopis ffa557162c [IMP] pre-commit run -a 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 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
ernesto d6d4142cd9 [MIG] mail_tracking: Migration to 12.0 2023-09-25 07:40:35 -07:00
Pedro M. Baeza 8e652c4b19 [IMP] mail_tracking: Put button box at the end of the view
For giving more priority to other buttons like the invoices one.
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
Carlos Dauden f0aff3bd59 [9.0][IMP] mail_tracking: Improve view with error details 2023-09-25 07:40:35 -07:00
Juan Jose Scarafia a185584799 [FIX][9.0] partner buttons view on enterprise 2023-09-25 07:40:35 -07:00
Antonio Espinosa e662b4bff9 [FIX] Sender label is repeated in search fields 2023-09-25 07:40:35 -07:00
Antonio Espinosa d9e6e655dc [IMP] mail_tracking performance and bounce process () 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 be492793f3 [MIG] mail_tracking
* Improve tests
* Show trackings even if partner removed
* Disable CSRF protection to webhooks controllers
2023-09-25 07:40:35 -07:00
Antonio Espinosa 0ddcb83ef2 [8.0][ADD] mail_tracking addon ()
* [ADD] mail_tracking addon

* Add description icon

* Fixes remarked

* Fix Travis error

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