Commit Graph

704 Commits (caa33a349e0913f32ae383e8a010f65ce1fa11f8)

Author SHA1 Message Date
OCA-git-bot caa33a349e mass_mailing_list_dynamic 12.0.1.0.2 2020-07-30 06:19:47 +00:00
oca-travis 0f0e285853 [UPD] Update mass_mailing_list_dynamic.pot 2020-07-30 06:08:08 +00:00
OCA-git-bot 5d133836fa Merge PR #585 into 12.0
Signed-off-by rafaelbn
2020-07-30 05:56:37 +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-git-bot c5d46cb16e mass_mailing_partner 12.0.1.0.3 2020-07-30 01:46:06 +00:00
OCA-git-bot f3a0e34869 Merge PR #579 into 12.0
Signed-off-by rafaelbn
2020-07-30 01:33:59 +00:00
Pedro M. Baeza 11067ea9cf [FIX] mass_mailing_list_dynamic: Avoid error on shared contacts
- Create a contact with tag "X"
- Create a dynamic mailing list fully sync with criteria for tag "X".
- Sync it.
- Create a second mailing list non dynamic.
- Try to add the contact to second mailing list.

You get an error in this case, and it shouldn't happen.
2020-07-29 21:18:49 +02:00
OCA-git-bot 24bebb73c8 mail_outbound_static 12.0.1.0.1 2020-07-29 10:26:47 +00:00
OCA-git-bot c2d8bbe899 Merge PR #575 into 12.0
Signed-off-by gurneyalex
2020-07-29 10:11:08 +00:00
David Vidal 299f08b035 Translated using Weblate (German)
Currently translated at 60.0% (3 of 5 strings)

Translation: social-12.0/social-12.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_debrand/de/
2020-07-29 08:59:49 +00:00
David Vidal 732cff2c94 Translated using Weblate (Spanish)
Currently translated at 100.0% (5 of 5 strings)

Translation: social-12.0/social-12.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_debrand/es/
2020-07-29 08:59:49 +00:00
David Vidal 677260f40e Added translation using Weblate (German) 2020-07-29 06:18:32 +00:00
David Vidal e14a5c8370 Added translation using Weblate (Spanish) 2020-07-29 06:11:15 +00:00
david ed77b7944c [FIX] mass_mailing_partner: get contextual list when importing contacts
When importing contacts from csv or xls, the list is set by context. So
we must try to default to that context when setting the contact values.
2020-07-28 07:39:49 +02: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 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