David
e981f3cc6d
[MIG] mail_tracking: Migration to 17.0
...
TT49060
2024-06-11 10:08:14 +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
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
aea5fa7548
[FIX] mail_tracking: allowed trackings compute
...
In the forward port of the permission check, a column was dropped from
the tuple, but the following code wasn't adapted to the new tuple
length. For clarity sake we also name the tuple unpacking into proper
variables.
TT43453
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
jb
4912eb5389
use keyword arguments in build_email to comply with portal tests
2024-06-11 09:51:53 +02:00
David
f9aa7c1fd4
[FIX] mail_tracking: js linter warnings
2024-06-11 09:51:53 +02:00
Stephane Mangin
8301727ee1
[IMP] mail_tracking: remove legacy hooks
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
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
Fernanda Hernández
4e20cb65aa
[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)
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
Jorge Luis Quinteros
b8600c8cb5
[FIX] Change operator to 'ilike'
2024-06-11 09:51:53 +02:00
angelJuaGar
2505952391
[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.
2024-06-11 09:51:53 +02:00
Jairo Llopis
266d8cff75
[FIX] mail_tracking: reduce spammy score
...
Fix https://github.com/OCA/social/issues/701 , following idea from https://kb.mailwizz.com/articles/low-score-in-spamassassin-because-of-the-rand_mktg_header-rule/ to avoid matching the regexp explained in https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7888#c5
@Tecnativa TT29674
2024-06-11 09:51:53 +02:00
Areeb Siddiqi
bb40ec162c
[MIG] mail_tracking: Migration to 14.0
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. 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
Wolfgang Pichler
d90620f135
[FIX] re.search will return None when nothing found. So we have to check for this
2024-06-11 09:42:20 +02:00
Alexandre Díaz
29edda30bc
[IMP] mail_tracking: Ignore catchall
2024-06-11 09:42:20 +02:00
Alexandre Díaz
5b34971637
[IMP] mail_tracking: Test 'to' and named emails
2024-06-11 09:42:19 +02:00
Uku Lagle
12e3347b08
[FIX] mail_tracking: do not warn not found if already opened
...
The state will be 'opened' after first time email is opened. Each
successive open triggered warning, because state was already 'opened'
and thus did not match domain state in (sent, delivered).
Forward-port #d9ad3464
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
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
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
Alexandre Díaz
d409b23ad0
[IMP] mail_tracking: Adapt test to set (not order preserved)
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
Pedro M. Baeza
8447b7ff33
[FIX] mail_tracking: Don't call write inside other write
...
Or infinite recursions will happen on other `write` overwrites, like the one that happens
on `mass_mailing_partner`.
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 Vidal
64dd01b7e9
[IMP] mail_tracking: email score performance ( #299 )
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
eLBati
3dd37c628d
IMP mail_tracking performances
...
On our server,
queries based on "mail_tracking_event"."tracking_email_id" improved from 501,924 ms to 1,840 ms
queries based on "mail_tracking_email"."mail_message_id" improved from 167,436 ms to 3,223 ms
The last ones are run several times when a thread has many messages
2024-05-30 13:53:46 +02:00
Antonio Espinosa
434d4b7439
[FIX] mail_tracking: bugfixes ( #199 )
...
* [FIX] Only one data-odoo-tracking-email tag in each email
* [FIX] Get status even in multicompany instances
2024-05-30 13:53:46 +02:00
Antonio Espinosa
bb5432c095
Add access to portal/public user to his own email trackings
2024-05-30 13:53:46 +02:00