Commit Graph

44 Commits (27fa5f1f3e93f99593a62eacf28c1625a32f8e16)

Author SHA1 Message Date
OCA-git-bot ee3bb19bc8 [BOT] post-merge updates 2025-01-21 14:44:55 +00:00
OCA-git-bot e90dd39642 [BOT] post-merge updates 2024-11-22 16:21:27 +00:00
trisdoan 82e66467ea [FW] port missing commits from 14.0 to 17.0 2024-10-03 11:41:51 +07:00
OCA-git-bot 2d458df82a [BOT] post-merge updates 2024-07-03 10:37:35 +00:00
David e981f3cc6d [MIG] mail_tracking: Migration to 17.0
TT49060
2024-06-11 10:08:14 +02:00
Pedro M. Baeza 549006c5dc [IMP] mail_tracking: pre-commit auto fixes 2024-06-11 09:54:49 +02:00
Holger Brunn b293ba54de [FIX] mail_tracking: be closer to what Odoo does in a nodb environment 2024-06-11 09:51:53 +02:00
Holger Brunn b5fa4255fc [IMP] mail_tracking: Give example that actually works in readme 2024-06-11 09:51:53 +02:00
mymage 0f139e608d Translated using Weblate (Italian)
Currently translated at 29.8% (34 of 114 strings)

Translation: social-15.0/social-15.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_tracking/it/
2024-06-11 09:51:53 +02:00
NiChrDeuse ab323e561a [16.0][FIX] mail_tracking debug mode error 2024-06-11 09:51:53 +02:00
payen000 c8e5ae90fc [FIX] mail_tracking: validated mailbox when computing isInFailedDiscuss 2024-06-11 09:51:53 +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
filoquin e0fee46fa9 [MIG] mail_tracking: Migration to 16.0 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
dhx 2fe46dd8e1 [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
2024-06-11 09:51:53 +02:00
David f9aa7c1fd4 [FIX] mail_tracking: js linter warnings 2024-06-11 09:51:53 +02:00
Jasmin Solanki 5e9998e324 [MIG] mail_tracking: Migration to 15.0 2024-06-11 09:51:53 +02:00
Jasmin Solanki 5c383b4724 [IMP] mail_tracking: black, isort, prettier 2024-06-11 09:51:53 +02:00
Fernanda Hernández 773ba68bf6 [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`.
2024-06-11 09:51:53 +02:00
houssine baa05ca8ab [PORT] porting js code to comply with OWL 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 1cedb804a4 [IMP] mail_tracking: Discuss failed messages: Button and domain + Only show confirmation if needed 2024-06-11 09:51:44 +02:00
Alexandre D. Díaz feb6c1c9a2 [IMP] Apply pre-commit changes: Resolve conflicts 2024-06-11 09:51:44 +02:00
nmadhoc 41824cf401 [FIX] mail_tracking
When a user try to resend message gets an error stating that it's only allowed for users who belong to the Administration/Settings group
2024-06-11 09:51:44 +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 f7c8acf6bb [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).
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
Alexandre Díaz b9e43d6d8e [IMP] mail_tracking: translations 2024-06-11 09:42:19 +02:00
Alexandre Díaz 17c39f63ae [IMP] mail_tracking: Convert 'partner_trackings' to dict 2024-06-11 09:42:19 +02:00
Alexandre Díaz 56130736da [IMP] mail_tracking: Cc name & check if mail is Cc 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
Pedro M. Baeza 56a0e70b1b [FIX] mail_tracking: Show correctly blank image
Bad P2 > P3 conversion
2024-06-11 09:42:19 +02:00
Ihor 46f5cc44ed [FIX] Bug {TypeError: dict.message.hasEmailCc is not a function} during the creation of a new document. 2024-06-11 09:42:19 +02:00
Alexandre Díaz 26e8063fd2 [MIG] mail_tracking: Adapt Cc to 12.0 2024-06-11 09:42:19 +02:00
Alexandre Díaz ca30aa43bb [IMP] mail_tracking: Cc 2024-05-30 13:53:46 +02:00
ernesto 8ab506bed7 [MIG] mail_tracking: Migration to 12.0 2024-05-30 13:53:46 +02:00
David 0fd3693074 [MIG] mail_tracking: Migration to 11.0 2024-05-30 13:53:46 +02:00
Emanuel Cino 53ec4fe4b6 [FIX] mail_tracking js could break other modules using chat_manager 2024-05-30 13:53:46 +02:00
Damien Bouvy ae82c2790e [MIG] mail_tracking: Migrated to 10.0 2024-05-30 13:53:46 +02:00
Antonio Espinosa 80e3341234 [MIG] mail_tracking
* Improve tests
* Show trackings even if partner removed
* Disable CSRF protection to webhooks controllers
2024-05-30 13:53:46 +02:00
Antonio Espinosa dcf1274ca1 [8.0][ADD] mail_tracking addon (#67)
* [ADD] mail_tracking addon

* Add description icon

* Fixes remarked

* Fix Travis error

* Remarks fixed
2024-05-30 13:53:46 +02:00