Commit Graph

754 Commits (54ff0b30b1a5cdfbd894f166a8beb1383e0013fb)

Author SHA1 Message Date
Weblate 54ff0b30b1 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-09-25 07:40:35 -07:00
OCA-git-bot 3621a7dcf1 mail_tracking 15.0.2.0.0 2023-09-25 07:40:35 -07:00
oca-ci e6682d404b [UPD] Update mail_tracking.pot 2023-09-25 07:40:35 -07:00
David 764e094a34 [FIX] mail_tracking: js linter warnings 2023-09-25 07:40:35 -07:00
Weblate 3d5e49f626 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-09-25 07:40:35 -07:00
OCA-git-bot 4f1365100e mail_tracking 15.0.1.1.0 2023-09-25 07:40:35 -07:00
oca-ci 434ba3559c [UPD] Update mail_tracking.pot 2023-09-25 07:40:35 -07:00
Stephane Mangin 60ab6f7109 [IMP] mail_tracking: remove legacy hooks 2023-09-25 07:40:35 -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
Jairo Llopis 003ee3ee10 [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-09-25 07:40:35 -07:00
David 8b78a72c31 [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-09-25 07:40:35 -07:00
David afe6220fe3 [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-09-25 07:40:35 -07:00
OCA Transbot 9c98cea6f8 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-09-25 07:40:35 -07:00
oca-ci c12a553fc8 [UPD] Update mail_tracking.pot 2023-09-25 07:40:35 -07:00
OCA-git-bot 06244fe174 mail_tracking 15.0.1.0.2 2023-09-25 07:40:35 -07:00
EAJGlobal 921f5eb0a8 Fixed Deprecated Warning 2023-09-25 07:40:35 -07:00
OCA-git-bot 8df1d994ce mail_tracking 15.0.1.0.1 2023-09-25 07:40:35 -07:00
OCA-git-bot fb18d2014d [UPD] README.rst 2023-09-25 07:40:35 -07:00
oca-ci 9dfa28a1cb [UPD] Update mail_tracking.pot 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
OCA-git-bot 3f894af21a mail_tracking 14.0.2.0.2 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 Transbot c92249d53b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_tracking/
2023-09-25 07:40:35 -07:00
OCA-git-bot c024f09e90 mail_tracking 14.0.2.0.1 2023-09-25 07:40:35 -07:00
oca-travis 04b059a2ad [UPD] Update mail_tracking.pot 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
OCA Transbot e95c476f5a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_tracking/
2023-09-25 07:40:35 -07:00
OCA-git-bot e00560846e mail_tracking 14.0.2.0.0 2023-09-25 07:40:35 -07:00
OCA-git-bot d148af0cf6 [UPD] README.rst 2023-09-25 07:40:35 -07:00
oca-travis ccd0503e19 [UPD] Update mail_tracking.pot 2023-09-25 07:40:35 -07:00
houssine 2c35e9bede [PEP8] pre-commit 2023-09-25 07:40:35 -07:00
OCA Transbot 73a64469a2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_tracking/
2023-09-25 07:40:35 -07:00
oca-travis efe3dcbc74 [UPD] Update mail_tracking.pot 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 Transbot 998b51f5d9 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_tracking/
2023-09-25 07:40:35 -07:00
oca-travis c1138b01bb [UPD] Update mail_tracking.pot 2023-09-25 07:40:35 -07:00
OCA Transbot 27cdbfc664 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_tracking/
2023-09-25 07:40:35 -07:00
oca-travis 5011a588e6 [UPD] Update mail_tracking.pot 2023-09-25 07:40:35 -07:00
OCA-git-bot d98247b33f mail_tracking 14.0.1.1.1 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
OCA-git-bot a98f08963a mail_tracking 14.0.1.1.0 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
Jairo Llopis 28a54498fe [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
2023-09-25 07:40:35 -07:00
OCA-git-bot d4b3a787d8 [UPD] README.rst 2023-09-25 07:40:35 -07:00
oca-travis 2367f3fbb2 [UPD] Update mail_tracking.pot 2023-09-25 07:40:35 -07:00
angelJuaGar a5b00f7a22 [FIX] mail_tracking: Modification in unitest. 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 97cbeda338 [MIG] mail_tracking: Migration to 14.0 2023-09-25 07:40:35 -07:00