Commit Graph

900 Commits (09d53724f1f17c552b049162a09d0bd14b10fab8)

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

Translation: social-12.0/social-12.0-fetchmail_thread_default
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-fetchmail_thread_default/
2020-07-23 11:20:57 +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
OCA-git-bot 33b5e2c074 Merge PR #577 into 12.0
Signed-off-by pedrobaeza
2020-07-23 10:56:38 +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
eLBati 4fa8fda51a FIX mail_outbound_static using sudo to get ir.config_parameter, otherwise when normal users try to send email they get AccessError 2020-07-22 12:26:59 +02:00
OCA-git-bot 8bd98212b8 [ADD] setup.py 2020-07-22 07:31:28 +00:00
oca-travis a7e63b6e4b [UPD] Update fetchmail_thread_default.pot 2020-07-22 07:20:18 +00:00
OCA-git-bot 1ac8c4cd4b Merge PR #554 into 12.0
Signed-off-by Yajo
2020-07-22 07:09:39 +00:00
OCA-git-bot 6ecc9c52f3 mass_mailing_list_dynamic 12.0.1.0.1 2020-07-16 13:33:45 +00:00
OCA-git-bot 8aa4d64ea8 Merge PR #571 into 12.0
Signed-off-by rafaelbn
2020-07-16 13:15:49 +00:00
david b3cfd62848 [FIX] mass_mailing_list_dynamic: list sync on send
- We change the method to hook on (it wasn't correctly overriden anyway)
to ensure the list is resynced even if no recipients are left. For
example: we create a dynamic list with a domain expecting it to sync in
the first mass_mailing. It wouldn't sync as Odoo dismisses the mailing
considering no recipients are left thus it wouldn't get into the
`send_mail` method.
2020-07-16 11:50:33 +02:00
OCA Transbot b7bcfaf84a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mass_mailing_event_registration_exclude
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mass_mailing_event_registration_exclude/
2020-07-16 08:09:15 +00:00
Pedro M. Baeza e75f6f7aa9 [MIG] mass_mailing_list_dynamic: Migration script
For converting `opt_out` into `is_blacklisted` in domains.
2020-07-16 10:08:29 +02:00
OCA-git-bot b2b925d12e [ADD] setup.py 2020-07-09 14:59:14 +00:00
oca-travis fb6ec851a5 [UPD] Update mass_mailing_event_registration_exclude.pot 2020-07-09 14:48:08 +00:00
OCA-git-bot 4396a951c8 Merge PR #563 into 12.0
Signed-off-by pedrobaeza
2020-07-09 14:37:46 +00:00
Alexandre D. Díaz e7f101e771 [MIG] mass_mailing_event_registration_exlude: Migration to 12.0 2020-07-09 16:30:53 +02:00
Jairo Llopis 95c14c9254 [FIX] mass_mailing_event: Integration tests
When running tests and `mass_mailing_list_dynamic` was installed, they failed.
2020-07-09 16:30:53 +02:00
OCA Transbot 84e7cf15bc OCA Transbot updated translations from Transifex 2020-07-09 16:29:29 +02:00
David Vidal 7d701f1a23 [MIG] mass_mailing_event: Migration to 10.0 2020-07-09 16:29:29 +02:00
OCA Transbot 929375ff0c OCA Transbot updated translations from Transifex 2020-07-09 16:29:29 +02:00
Antonio Espinosa 3673d4c488 mass_mailing_event (#127) 2020-07-09 16:29:29 +02:00
OCA Transbot cd3f645eea Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_activity_team
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_team/
2020-07-06 13:18:21 +00:00
OCA-git-bot c1533e6512 mail_activity_team 12.0.1.2.0 2020-07-06 13:18:02 +00:00
OCA-git-bot 659f9d71d1 [UPD] README.rst 2020-07-06 13:18:01 +00:00
oca-travis 79dd1256b1 [UPD] Update mail_activity_team.pot 2020-07-06 13:00:34 +00:00
OCA-git-bot 394dd4f0d8 Merge PR #529 into 12.0
Signed-off-by simahawk
2020-07-06 12:32:08 +00:00
Jaime Arroyo 6228db50d5 [IMP] mail_activity_team: code improvements 2020-07-06 12:45:33 +02:00
Enric Tobella abcd022975 [IMP] mail_activity_team: include meetings 2020-07-06 11:18:29 +02:00
Radovan Skolnik 54a43aa054 [MIG] fetchmail_thread_default: Migration to 12.0 2020-07-06 10:20:27 +02:00
OCA-git-bot 0530404f67 mass_mailing_custom_unsubscribe 12.0.1.0.2 2020-06-30 16:55:01 +00:00
OCA-git-bot 29088e5854 Merge PR #560 into 12.0
Signed-off-by pedrobaeza
2020-06-30 16:43:28 +00:00
Pedro M. Baeza 0f75b95c99 [FIX] mass_mailing_custom_unsubscribe: mailing contact contains `opt_out`
So we need to explicitly opt-out (XD) that model from the new alternative mechanism
for unsubscribing records.
2020-06-30 18:39:07 +02:00
OCA Transbot af19a37aa5 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-base_search_mail_content
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-base_search_mail_content/
2020-06-30 08:19:03 +00: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-git-bot 2406377f56 mass_mailing_custom_unsubscribe 12.0.1.0.1 2020-06-30 08:18:45 +00:00
OCA-git-bot fd154f25f0 mass_mailing_custom_unsubscribe_event 12.0.1.0.1 2020-06-30 08:18:43 +00:00
OCA-git-bot 60e5ad32fd [ADD] setup.py 2020-06-30 08:18:43 +00:00
oca-travis 03050c49a8 [UPD] Update mass_mailing_custom_unsubscribe_event.pot 2020-06-30 08:07:52 +00:00
oca-travis 1cfab65886 [UPD] Update mail_tracking.pot 2020-06-30 08:07:50 +00:00
oca-travis 6ff9993705 [UPD] Update base_search_mail_content.pot 2020-06-30 08:07:41 +00:00
OCA-git-bot 14b6ed4a51 Merge PR #555 into 12.0
Signed-off-by pedrobaeza
2020-06-30 07:50:12 +00:00
Pedro M. Baeza 77a38af50d [ADD] mass_mailing_custom_unsubscribe_event: Allow to unsubscribe discretely from an event
This addon extends the unsubscription process for allowing to unsubscribe
only for an event.

Standard process includes the mail in the general blacklist instead, which
can be very unconvenient.

This includes also the needed changes in the base module `mass_mailing_custom_unsubscribe`.
2020-06-29 18:01:01 +02:00
OCA-git-bot e1dd26d83e mail_tracking 12.0.2.1.4 2020-06-26 11:37:42 +00:00
OCA-git-bot 3db3cf2658 Merge PR #557 into 12.0
Signed-off-by pedrobaeza
2020-06-26 11:27:10 +00:00
OCA-git-bot 025852d996 mail_drop_target 12.0.1.1.1 2020-06-26 11:25:59 +00:00
OCA-git-bot 152cb95abb Merge PR #559 into 12.0
Signed-off-by pedrobaeza
2020-06-26 11:12:25 +00:00
Jairo Llopis f185333091 [FIX] mail_drop_target: new attribute name
The external dependency `extract_msg` changed how to access to the message id in [its 0.24.4 release][1].

That broke the branch. Fixing here.

[1]: https://github.com/mattgwwalker/msg-extractor/releases/tag/v0.24.4

@Tecnativa TT24457
2020-06-26 12:09:51 +01:00
Hans Henrik Gabelgaard 994cc2e14a Translated using Weblate (Danish)
Currently translated at 89.7% (26 of 29 strings)

Translation: social-12.0/social-12.0-mail_activity_team
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_team/da/
2020-06-25 11:30:07 +00:00