Commit Graph

717 Commits (f38631837edfa38ca5954ff9e47bb22563bc7beb)

Author SHA1 Message Date
Pedro Castro Silva f38631837e Translated using Weblate (Portuguese)
Currently translated at 100.0% (18 of 18 strings)

Translation: social-12.0/social-12.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_board/pt/
2020-08-04 20:59:50 +00:00
Pedro Castro Silva 17f09665d0 Added translation using Weblate (Portuguese) 2020-08-04 18:20:24 +00:00
Pedro Castro Silva 2111922053 Added translation using Weblate (Portuguese) 2020-08-04 18:15:47 +00:00
OCA-git-bot e465927b1f mail_restrict_follower_selection 12.0.1.0.2 2020-08-03 13:19:39 +00:00
OCA-git-bot d4a61a9b77 Merge PR #581 into 12.0
Signed-off-by hbrunn
2020-08-03 13:07:40 +00:00
Julien Guenat b69e09331b Translated using Weblate (French (Switzerland))
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/fr_CH/
2020-08-01 23:59:58 +00:00
Julien Guenat 1fc9e667b8 Translated using Weblate (French)
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/fr/
2020-08-01 23:59:58 +00:00
Julien Guenat 90cdfd7bef Added translation using Weblate (French (Switzerland)) 2020-08-01 21:17:33 +00:00
Pedro M. Baeza 4d1bc89cf8 [FIX] mass_mailing_list_dynamic: Detect rough cases for contact modifications
Followup of 11067ea9cf

There are 2 cases that breaks the validation:

- If you write list_ids through dot notation, the ORM converts always to command
  [(6, 0, <full_list_of_ids>)], so the validation fails, as it checks lists that
  have not been modified. Now the diff is done for not having false positives.
- The constraint is being triggered even if there's no real change on the affected
  fields. We move the check to the existing create/method code for checking there
  real changes.

TT25002
2020-08-01 12:01:10 +02:00
Yann Papouin 129d12e259 Translated using Weblate (French)
Currently translated at 100.0% (18 of 18 strings)

Translation: social-12.0/social-12.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_board/fr/
2020-07-30 22:59:54 +00:00
Yann Papouin c6d80520cc Added translation using Weblate (French) 2020-07-30 20:37:19 +00:00
OCA Transbot f3de3d69ff Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mass_mailing_list_dynamic
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mass_mailing_list_dynamic/
2020-07-30 06:20:09 +00:00
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
Enrique 73d8d0ee24 [FIX] mail_restrict_follower_selection: res_model not always in context
When creating a record from a record from another model, the model is not in the context (`default_res_model` key). For example: creating an invoice from a sale order.
2020-07-29 13:33:43 +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