Commit Graph

137 Commits (ef7f974e277d4e22af6af91770e5b9205af60fee)

Author SHA1 Message Date
mymage 7eac3e8727 Translated using Weblate (Italian)
Currently translated at 82.4% (94 of 114 strings)

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/it/
2023-09-04 18:40:06 +00:00
OCA-git-bot 9eae2d2baf [UPD] README.rst 2023-09-03 16:57:45 +00:00
mymage 1084807d47 Translated using Weblate (Italian)
Currently translated at 82.4% (94 of 114 strings)

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/it/
2023-06-15 08:10:46 +00:00
mymage 26385c19b4 Translated using Weblate (Italian)
Currently translated at 82.4% (94 of 114 strings)

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/it/
2023-05-29 15:08:14 +00:00
Francesco Foresti 08586fcdf5 Translated using Weblate (Italian)
Currently translated at 82.4% (94 of 114 strings)

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/it/
2022-12-30 12:45:58 +00:00
Tom Blauwendraat be78095343 [FIX] pre-commit 2022-11-08 11:46:07 +01:00
OCA-git-bot 87d9eb02e1 mail_tracking 12.0.3.1.0 2022-07-27 16:34:55 +00:00
Jairo Llopis f3c1b79852 [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
2022-06-27 14:04:36 +02:00
OCA-git-bot a40f500641 mail_tracking 12.0.3.0.0 2021-10-28 11:20:49 +00:00
Jairo Llopis 87de5ddb38
[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
2021-10-15 11:58:00 +01:00
OCA Transbot b8ced294f5 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/
2021-08-03 18:01:44 +00:00
oca-travis eef5c251f1 [UPD] Update mail_tracking.pot 2021-08-03 18:01:26 +00:00
Lorenzo Battistini 47fe5f4af1 Translated using Weblate (Italian)
Currently translated at 82.4% (94 of 114 strings)

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/it/
2021-07-08 15:48:58 +00:00
OCA-git-bot 9fdd89bdcd mail_tracking 12.0.2.1.8 2021-02-03 20:10:46 +00:00
nmadhoc cffbefcc07 [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
2021-02-03 20:41:40 +01:00
OCA-git-bot 21472baf54 Merge PR #462 into 12.0
Signed-off-by sebastienbeau
2021-01-09 10:15:17 +00:00
Yann Papouin ddde8647cf Translated using Weblate (French)
Currently translated at 100.0% (114 of 114 strings)

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/fr/
2020-12-07 22:19:54 +00:00
OCA Transbot c69ac5c2cc Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/
2020-12-03 20:57:50 +00:00
OCA-git-bot d4ff95f59a mail_tracking 12.0.2.1.7 2020-12-03 20:57:07 +00:00
oca-travis 12fc51a929 [UPD] Update mail_tracking.pot 2020-12-03 20:44:45 +00:00
OCA-git-bot 22b9a44f49 Merge PR #624 into 12.0
Signed-off-by pedrobaeza
2020-12-03 20:32:33 +00:00
Alexandre D. Díaz 7560443906 [IMP] mail_tracking: Discuss failed messages: Button and domain 2020-12-03 21:17:48 +01:00
OCA-git-bot 452993a04e mail_tracking 12.0.2.1.6 2020-11-27 17:38:35 +00:00
Wolfgang Pichler d50a8ff4ed [FIX] re.search will return None when nothing found. So we have to check for this 2020-10-23 14:16:12 +02:00
Lorenzo Battistini cc0d09f825 Translated using Weblate (Italian)
Currently translated at 83.2% (94 of 113 strings)

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/it/
2020-09-09 08:00:05 +00:00
Sylvain LE GAL fc2fc0038c [FIX] compatibility between mail_send_copy and mail_tracking together 2020-09-01 10:53:09 +02:00
OCA Transbot 3336e8995b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/
2020-08-19 08:26:40 +00:00
oca-travis 1040ba50fc [UPD] Update mail_tracking.pot 2020-08-19 08:14:28 +00:00
OCA Transbot ebdc42897b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/
2020-08-16 11:53:00 +00:00
Jesús Alan Ramos Rodríguez 809b5143ac Translated using Weblate (Spanish (Mexico))
Currently translated at 11.5% (13 of 113 strings)

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/es_MX/
2020-07-30 01:46:26 +00:00
OCA Transbot 51319265c9 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/
2020-07-23 11:20:59 +00:00
OCA-git-bot 8342ae08e3 mail_tracking 12.0.2.1.5 2020-07-23 11:20:42 +00:00
oca-travis c1c2625054 [UPD] Update mail_tracking.pot 2020-07-23 11:07:46 +00:00
Jairo Llopis fa7cf1ef80 [FIX] mail_tracking: performance fix
When searching for failed messages, [this line][1] made Odoo search messages in 2 steps:

1. Find which `mail.tracking.email` records are in those states.
2. Find which of them belong to the present `mail.message` records.

Step 2 could take a long time if there were a lot of failures in a DB. In our proven case, this made loading the `res.partner` form view take about ~6s per partner. It was also slowing down other views.

With this simple fix, [that nasty line linked above][1] is solved with just one query like this:

```SQL
SELECT "mail_message".id FROM "mail_tracking_email" as "mail_message__mail_tracking_ids","mail_message"
WHERE ("mail_message"."id"="mail_message__mail_tracking_ids"."maiL_message_id") AND (((("mail_message"."model" = 'res.partner')  AND ("mail_message"."mail_tracking_needs_action" = true))  AND  ("mail_message__mail_tracking_ids"."state" in ('rejected','error','bounced','soft-bounced','spam')))  AND  ("mail_message"."res_id" in (1000)))
ORDER BY "mail_message"."id" DESC
```

Thus this makes the forms load at normal speed again.

[1]: 8bd98212b8/mail_tracking/models/mail_thread.py (L25)
2020-07-23 12:53:26 +02:00
OCA Transbot 72c9c811b0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/
2020-06-30 08:19:01 +00:00
oca-travis 1cfab65886 [UPD] Update mail_tracking.pot 2020-06-30 08:07:50 +00:00
OCA-git-bot e1dd26d83e mail_tracking 12.0.2.1.4 2020-06-26 11:37:42 +00:00
Jairo Llopis 50f0e6a41d [FIX] mail_tracking: do not slurp exceptions
This code chunk is expected to raise. Slurping it doesn't help upstream methods that rely on these exceptions.

@Tecnativa TT24457
2020-06-24 10:48:00 +01:00
OCA Transbot 4adde96308 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/
2020-05-07 17:13:07 +00:00
oca-travis 404f3935ec [UPD] Update mail_tracking.pot 2020-05-07 17:01:22 +00:00
OCA Transbot 2e74d2e925 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/
2020-04-22 15:10:21 +00:00
OCA-git-bot 4c5ce311d7 mail_tracking 12.0.2.1.3 2020-04-22 15:10:06 +00:00
oca-travis b0bd82593f [UPD] Update mail_tracking.pot 2020-04-22 14:59:22 +00:00
Alexandre Díaz 29b6ee1e1e [IMP] mail_tracking: Ignore catchall 2020-04-22 16:26:08 +02:00
OCA-git-bot d59b7eabc9 mail_tracking 12.0.2.1.2 2020-03-31 12:52:52 +00:00
OCA-git-bot 4413be3e63 Merge PR #531 into 12.0
Signed-off-by Yajo
2020-03-31 12:42:48 +00:00
Matjaz Mozetic 3411a1376c Translated using Weblate (Slovenian)
Currently translated at 100.0% (112 of 112 strings)

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/sl/
2020-03-30 22:13:59 +00:00
Uku Lagle d9ad346484 [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).

resolves #530
2020-03-30 19:41:27 +03:00
OCA-git-bot 8d985d8da9 [UPD] README.rst 2020-03-29 06:13:53 +00:00
Alexandre Díaz 599d470142 [IMP] mail_tracking: Test 'to' and named emails 2020-03-26 20:43:45 +01:00