Commit Graph

47 Commits (bac73d64ae91a33151b1f1aef5e8e397bef19ed1)

Author SHA1 Message Date
OCA-git-bot e757b46c30 [BOT] post-merge updates 2024-01-08 07:42:43 +00:00
NiChrDeuse 1bd904092b [16.0][FIX] mail_tracking debug mode error 2023-12-15 14:27:34 +01:00
OCA-git-bot 82f3e603e6 [BOT] post-merge updates 2023-10-17 08:04:13 +00:00
payen000 a554863282 [FIX] mail_tracking: validated mailbox when computing isInFailedDiscuss 2023-10-16 07:50:26 -07:00
OCA-git-bot a324624eea [BOT] post-merge updates 2023-10-10 06:25:18 +00:00
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
filoquin b3f4068e02 [MIG] mail_tracking: Migration to 16.0 2023-09-25 07:50:08 -07:00
OCA-git-bot 5ff6ab81d3 [UPD] README.rst 2023-09-25 07:40:36 -07:00
OCA-git-bot 781bf09fcb [UPD] README.rst 2023-09-25 07:40:36 -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
OCA-git-bot f4fe5e145c [UPD] README.rst 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
David 764e094a34 [FIX] mail_tracking: js linter warnings 2023-09-25 07:40:35 -07:00
OCA-git-bot fb18d2014d [UPD] README.rst 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
Jasmin Solanki 90d158f1a7 [IMP] mail_tracking: black, isort, prettier 2023-09-25 07:40:35 -07:00
Fernanda Hernández 02203de937 [FIX] mail_tracking: change order of inheritance and use return
Currently when a invoice view is reload in browser or through native
redirections, an error is raised:

```
Traceback:
TypeError: Cannot read properties of undefined (reading 'id')
at Function.convertData [as _super] (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:5768:118)
at Function.convertData (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:6651:335)
at Function.Class. (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:6478:107)
at Function.convertData (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:7779:403)
at Function.Class. (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:6478:107)
at Function.convertData (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:7818:353)
at Function.Class. (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:6478:107)
at Function.convertData (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:12197:435)
at Function.Class. (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:6478:107)
at https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:5790:359
```

That is because an inheritance wrong, which breaks the flow of start of model
`messaging` and causes that messages execute before the init of var `messaging`.
2023-09-25 07:40:35 -07:00
OCA-git-bot d148af0cf6 [UPD] README.rst 2023-09-25 07:40:35 -07:00
houssine 2c35e9bede [PEP8] pre-commit 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
OCA-git-bot d4b3a787d8 [UPD] README.rst 2023-09-25 07:40:35 -07:00
simonev 9f5a34ac64 [14.0][MIG] mail_tracking 2023-09-25 07:40:35 -07:00
Areeb Siddiqi 5a096c4724 [IMP] mail_tracking: black, isort, prettier 2023-09-25 07:40:35 -07:00
Alexandre D. Díaz 615edd01ea [IMP] mail_tracking: Discuss failed messages: Only show confirmation if needed 2023-09-25 07:40:35 -07:00
Alexandre D. Díaz 98778b3caa [IMP] mail_tracking: Discuss failed messages: Button and domain 2023-09-25 07:40:35 -07:00
Alexandre D. Díaz f073590396 [IMP] Apply pre-commit changes: Resolve conflicts 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 7a099500e4 [IMP] mail_tracking: Store To recipients and omit aliases 2023-09-25 07:40:35 -07:00
OCA-git-bot 6b39838aa6 [UPD] README.rst 2023-09-25 07:40:35 -07:00
OCA-git-bot 99ff431109 [UPD] README.rst 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 107bf807bc [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).
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
Alexandre Díaz 17f8d93879 [IMP] mail_tracking: translations 2023-09-25 07:40:35 -07:00
Alexandre Díaz ce8f865e03 [IMP] mail_tracking: Convert 'partner_trackings' to dict 2023-09-25 07:40:35 -07:00
Alexandre Díaz 8ef81f2e01 [IMP] mail_tracking: Cc name & check if mail is Cc 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
Pedro M. Baeza c11f78f240 [FIX] mail_tracking: Show correctly blank image
Bad P2 > P3 conversion
2023-09-25 07:40:35 -07:00
Ihor 3e2fc692ef [FIX] Bug {TypeError: dict.message.hasEmailCc is not a function} during the creation of a new document. 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
Alexandre Díaz 270697712c [IMP] mail_tracking: Cc 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
David 715618fcb0 [MIG] mail_tracking: Migration to 11.0 2023-09-25 07:40:35 -07:00
Emanuel Cino 458e72d1c9 [FIX] mail_tracking js could break other modules using chat_manager 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 (#67)
* [ADD] mail_tracking addon

* Add description icon

* Fixes remarked

* Fix Travis error

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