Commit Graph

159 Commits (d1329bb808534a659436f09cf2c965dbf33a3adb)

Author SHA1 Message Date
Weblate 89c5f2af6d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2023-07-18 13:25:02 +00:00
oca-ci 527514f704 [UPD] Update mail_tracking.pot 2023-07-18 13:18:59 +00:00
OCA-git-bot 9301ab041d mail_tracking 15.0.3.0.1 2023-07-10 05:56:02 +00:00
OCA-git-bot a590819b35 Merge PR #1078 into 15.0
Signed-off-by pedrobaeza
2023-07-10 05:52:17 +00:00
OCA-git-bot a7ad901d61 mail_tracking 15.0.3.0.0 2023-06-23 17:48:30 +00:00
OCA-git-bot 1188666428 [UPD] README.rst 2023-06-23 17:48:30 +00:00
OCA-git-bot 08862d05ac Merge PR #1151 into 15.0
Signed-off-by pedrobaeza
2023-06-23 17:45:00 +00:00
mymage 00f5a88476 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/
2023-06-15 08:10:35 +00:00
dhx 3b7ac27ac8 [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-06-13 13:31:11 +02:00
OCA-git-bot 138429b116 mail_tracking 15.0.2.0.5 2023-05-22 13:30:15 +00:00
David 4ea4152ddd [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
2023-05-22 12:09:56 +02:00
OCA-git-bot 188bd1081d mail_tracking 15.0.2.0.4 2023-05-09 18:34:00 +00:00
David 7ca754ef6b [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
2023-05-09 17:12:04 +02:00
OCA-git-bot ef82808386 mail_tracking 15.0.2.0.3 2023-05-05 07:53:42 +00:00
Thierry Ducrest a561f0e1e6 Fix mail tracking bounce notification not logged
This is to resolve the following issue:

* https://github.com/OCA/social/issues/1121
2023-05-05 08:38:25 +02:00
Francesco Foresti 0e71121b2e 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/
2023-04-07 18:28:42 +00:00
Weblate 994c65912f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2023-03-23 15:26:51 +00:00
oca-ci ac06540242 [UPD] Update mail_tracking.pot 2023-03-23 15:22:59 +00:00
mymage fa04242888 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/
2023-03-23 13:23:04 +00:00
OCA-git-bot 2dc657826a mail_tracking 15.0.2.0.2 2023-03-01 16:54:04 +00:00
OCA-git-bot 67638b25bb Merge PR #1068 into 15.0
Signed-off-by pedrobaeza
2023-03-01 16:50:49 +00:00
sergio-teruel faca717a0e [FIX] mail_tracking: Crash to add malformed emails to recipients suggestions 2023-02-23 19:32:10 +01:00
OCA-git-bot 1e46b7be39 mail_tracking 15.0.2.0.1 2023-02-12 09:16:18 +00:00
OCA-git-bot ebc8324aa6 Merge PR #1053 into 15.0
Signed-off-by pedrobaeza
2023-02-12 09:12:56 +00:00
jb 74de552553 use keyword arguments in build_email to comply with portal tests 2023-02-09 18:22:39 +01:00
Weblate e0bd577e79 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2023-02-02 14:24:10 +00:00
OCA-git-bot 6488ddc52b mail_tracking 15.0.2.0.0 2023-02-02 14:23:55 +00:00
oca-ci 4e76c21899 [UPD] Update mail_tracking.pot 2023-02-02 14:20:03 +00:00
OCA-git-bot fd900e2bb9 Merge PR #1057 into 15.0
Signed-off-by pedrobaeza
2023-02-02 14:16:08 +00:00
David e996d10a13 [FIX] mail_tracking: js linter warnings 2023-01-31 18:30:11 +01:00
Weblate 03c884b2ca Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2023-01-31 17:28:08 +00:00
OCA-git-bot 231926dfcb mail_tracking 15.0.1.1.0 2023-01-31 17:27:51 +00:00
oca-ci e9dcbce7f6 [UPD] Update mail_tracking.pot 2023-01-31 17:23:32 +00:00
Stephane Mangin 4cd143e729 [IMP] mail_tracking: remove legacy hooks 2023-01-31 18:21:32 +01:00
david 015376b0f4 [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-01-31 18:18:59 +01:00
sugapablo 39628af6d6 [FIX] mail_tracking: error when filtering by "Sent" 2023-01-31 18:16:36 +01:00
Jairo Llopis 43875033ae [FIX] mail_tracking: process sent events
Up until now, the `sent` event type was never processed, probably because it "made no sense", as an unsent email would never trigger an event.

However, it makes sense to process it because you may have a local relay that transmits mails over to the mail provider. In those circumstances, you should have 2 "sent" events (one from the relay and another one from the provider).

Also marked some useless parts of code for removal.

@Tecnativa TT32365
2023-01-31 18:12:45 +01:00
David 062f38577b [IMP] mail_tracking_mailgun: mass mailing manual tracking
Mass mailing are tracked from mail.trace as the don't store a message in
the db. In order to gather the message_id and be able to do manual
checks to mailgun, that's the table where we should get the message id.

TT40816
2023-01-31 18:00:05 +01:00
David 61a3307900 [FIX] mail_tracking: mixed classes
In migration #873 the classes DiscussController and MailController which
are the result of an upstream functionality split are merge altogether
in this module override causing undesired side effects in other modules
trying to extend those (i.e.: portal)

TT41432
2023-01-30 18:16:15 +01:00
OCA Transbot f4ad4ec7d6 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2022-08-30 15:18:49 +00:00
oca-ci ebb5a3065f [UPD] Update mail_tracking.pot 2022-08-30 15:15:10 +00:00
OCA-git-bot c7d12addea mail_tracking 15.0.1.0.2 2022-08-23 16:16:11 +00:00
EAJGlobal 836c7d0981
Fixed Deprecated Warning 2022-08-23 16:05:03 +00:00
OCA-git-bot 07ddd79a93 mail_tracking 15.0.1.0.1 2022-05-11 20:56:49 +00:00
OCA-git-bot cd97e02f71 [UPD] README.rst 2022-05-11 20:56:49 +00:00
oca-ci 0a42a8e7ab [UPD] Update mail_tracking.pot 2022-05-11 20:53:42 +00:00
Jasmin Solanki 680eee8074 [MIG] mail_tracking: Migration to 15.0 2022-04-20 14:46:22 +05:30
Jasmin Solanki 021689d073 [IMP] mail_tracking: black, isort, prettier 2022-04-20 14:46:22 +05:30
OCA-git-bot a4f3acc3cf mail_tracking 14.0.2.0.2 2022-04-20 14:46:22 +05:30
Fernanda Hernández 1f3d4579de [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`.
2022-04-20 14:46:22 +05:30