Commit Graph

792 Commits (c4401e607634c6f3047466f9c13e9a236ad4dcf5)

Author SHA1 Message Date
OCA-git-bot 0f4ab112f8 [UPD] README.rst 2020-08-27 13:30:45 +00:00
OCA-git-bot 4e230f096c [UPD] addons table in README.md 2020-08-27 13:30:42 +00:00
Guewen Baconnier 9309136848 Fix issue on empty template with premailer
If premailer receives an empty value, such as an empty string,
on parsing, it returns None and fails when trying to call
'etree.fromstring()' on this None result.

We should avoid to call premailer on an empty string, as the result
will anyway not change.

We may have an empty template for instance when a template could not
compile due to a mistake.
2020-08-27 15:17:51 +02:00
oca-travis e482d70b34 [UPD] Update mass_mailing_custom_unsubscribe.pot 2020-08-27 13:17:08 +00:00
OCA-git-bot 320f8bae0a Merge PR #595 into 13.0
Signed-off-by pedrobaeza
2020-08-27 13:07:29 +00:00
Carlos Roca 1a5653116e [MIG] mass_mailing_custom_unsubscribe: Migration to v13.0 2020-08-26 08:57:06 +02:00
Denis Leemann ab4eb83e78 Translated using Weblate (French)
Currently translated at 83.3% (5 of 6 strings)

Translation: social-13.0/social-13.0-base_search_mail_content
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-base_search_mail_content/fr/
2020-08-25 14:59:58 +00:00
Radovan Skolnik 6017e9c88a [MIG] mail_attach_existing_attachment: Migration to 13.0 2020-08-24 21:38:41 +02:00
Radovan Skolnik fa09bab999 [IMP] mail_attach_existing_attachment: black, isort, prettier 2020-08-24 15:42:33 +02:00
OCA Transbot 8fa756a3a8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_attach_existing_attachment
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_attach_existing_attachment/
2020-08-24 15:40:34 +02:00
oca-travis 48000c01b1 [UPD] Update mail_attach_existing_attachment.pot 2020-08-24 15:40:34 +02:00
OCA-git-bot 58c1d9539b [UPD] README.rst 2020-08-24 15:40:34 +02:00
David Beal 6fc9971fe6 FIX image display 2020-08-24 15:40:34 +02:00
Matjaz Mozetic 38c64faf84 Translated using Weblate (Slovenian)
Currently translated at 100.0% (3 of 3 strings)

Translation: social-12.0/social-12.0-mail_attach_existing_attachment
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_attach_existing_attachment/sl/
2020-08-24 15:40:34 +02:00
Rodrigo Macedo 9932d823f3 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3 of 3 strings)

Translation: social-12.0/social-12.0-mail_attach_existing_attachment
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_attach_existing_attachment/pt_BR/
2020-08-24 15:40:34 +02:00
OCA-git-bot fd78252311 [UPD] README.rst 2020-08-24 15:40:34 +02:00
OCA Transbot a717eaed94 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2020-08-24 15:40:34 +02:00
oca-travis 741fde5b61 [UPD] Update mail_attach_existing_attachment.pot 2020-08-24 15:40:34 +02:00
OCA-git-bot d9a0e1fad7 [UPD] README.rst 2020-08-24 15:40:34 +02:00
ernesto 8b68a6f49c [MIG] mail_attach_existing_attachment: Migration to 12.0 2020-08-24 15:40:34 +02:00
oca-travis a3385ddbeb [UPD] Update mail_attach_existing_attachment.pot 2020-08-24 15:40:34 +02:00
ernesto 3456877214 [MIG] mail_attach_existing_attachment: Migration to 11.0 2020-08-24 15:40:34 +02:00
OCA Transbot a52696c7b2 OCA Transbot updated translations from Transifex 2020-08-24 15:40:34 +02:00
Damien Bouvy a5dafbbb15 [MIG] mail_attach_existing_attachment: Migrated to 10.0 2020-08-24 15:40:34 +02:00
OCA Transbot 7dce3d1639 OCA Transbot updated translations from Transifex 2020-08-24 15:40:34 +02:00
Sergio Teruel Albert e15a92b00f [MIG][9.0] mail_attach_existing_attachment: Module migrated (#68)
* [MIG][9.0] mail_attach_existing_attachment: Module migrated
2020-08-24 15:40:34 +02:00
OCA Transbot 586e10bfe9 OCA Transbot updated translations from Transifex 2020-08-24 15:40:34 +02:00
Adrien Peiffer (ACSONE) 15e0ba6e90 [IMP][mail_attach_existing_attachment] Change module name 2020-08-24 15:40:34 +02:00
Carlos Roca dbbe5b3b21 [IMP] mass_mailing_custom_unsubscribe: black, isort, prettier 2020-08-24 10:59:17 +02:00
Pedro M. Baeza c712dfe500 [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-08-24 10:59:17 +02:00
Pedro M. Baeza cba90a21c7 [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-08-24 10:59:17 +02:00
Matjaz Mozetic 94ba053fb0 Translated using Weblate (Slovenian)
Currently translated at 38.8% (33 of 85 strings)

Translation: social-12.0/social-12.0-mass_mailing_custom_unsubscribe
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mass_mailing_custom_unsubscribe/sl/
2020-08-24 10:59:17 +02:00
ernesto 9f84eabf18 [MIG] mass_mailing_custom_unsubscribe: Migration to 12.0 2020-08-24 10:59:17 +02:00
OCA Transbot a9c4ebd74b Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2020-08-24 10:26:35 +02:00
OCA Git Bot a78badc346 [UPD] README.rst 2020-08-24 10:26:35 +02:00
oca-travis c36c90cb39 [UPD] Update mass_mailing_custom_unsubscribe.pot 2020-08-24 10:26:35 +02:00
ernesto 1708e8beb0 mass_mailing_custom_unsubscribe: Fix testing error
Fix assertIn error thrown in testing mode
2020-08-24 10:26:34 +02:00
c2cdidier 4d6726436f Translated using Weblate (French)
Currently translated at 80.0% (44 of 55 strings)

Translation: social-11.0/social-11.0-mass_mailing_custom_unsubscribe
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-mass_mailing_custom_unsubscribe/fr/
2020-08-24 10:26:34 +02:00
oca-travis f118d86ec8 [UPD] Update mass_mailing_custom_unsubscribe.pot 2020-08-24 10:26:34 +02:00
Stéphane Bidoul (ACSONE) 83315fb469 [FIX] do not use section titles in readme fragments
This creates inconsistency issues when assembling them in the README.
2020-08-24 10:26:34 +02:00
David 2d94692483 [MIG] mass_mailing_custom_unsubscribe: Migration to 11.0 2020-08-24 10:26:34 +02:00
Jairo Llopis 59028ea0f3 [IMP] mass_mailing_custom_unsubscribe: GDPR compliance (#267)
* [IMP] mass_mailing_custom_unsubscribe: GDPR compliance

- Record resubscriptions too.
- Record action metadata.
- Make ESLint happy.
- Quick color-based action distinction in tree view.
- Add useful quick groupings.
- Display (un)subscription metadata.
- Pivot & graph views.
2020-08-24 10:26:34 +02:00
OCA Transbot db13aecd8b OCA Transbot updated translations from Transifex 2020-08-24 10:26:34 +02:00
Jairo Llopis 39ed5b20b3 [MIG][mass_mailing_custom_unsubscribe] Migrate to v10 2020-08-24 10:26:34 +02:00
OCA Transbot 42c318b61e OCA Transbot updated translations from Transifex 2020-08-24 10:26:34 +02:00
Jairo Llopis 14a8c47954 [9.0][MIG][mass_mailing_custom_unsubscribe] Migrate.
- Imported last updates from v8.
- Adapted to v9.
- Added a saner default to `mass_mailing.salt` configuration parameter by
  reusing `database.secret` if available, hoping that some day
  https://github.com/odoo/odoo/pull/12040 gets merged.
- Updated README.
- Increase security, drop backwards compatibility.
  Security got improved upstream, which would again break compatibility among current addon and future master upstream.
  I choose to break it now and keep it secured future-wise, so I drop the backwards compatibility features.
- Includes tour tests.
- Removes outdated tests.
- Extends the mailing list management form when unsubscriber is a contact.
- Adds a reason form even if he is not.
- Avoids all methods that were not model-agnostic.

[FIX][mass_mailing_custom_unsubscribe] Reasons noupdate

After this fix, when you update the addon, you will not lose your customized reasons.

[FIX] Compatibilize with mass_mailing_partner

Current test code was based on the assumption that the `@api.model` decorator on `create()` ensured an empty recordset when running the method, but that's not true. This was causing an incompatibility betwee these tests and the `mass_mailing_partner` addon, which works assuming 0-1 recordsets.

Now records are created from an empty recordset, and thus tests work everywhere.

Update instructions

If the user does not add the unsubscribe snippet, nothing will happen, so it's added to README to avoid confusion when testing/using the addon.

[FIX] Use the right operator to preserve recordsets order

Using `|=` sorts records at will each time (treating them as Python's `set`).
Using `+=` always appends a record to the end of the set.
Since we are using the record position in the set, this caused the test to work sometimes and fail other times. Now it works always.
2020-08-24 10:26:34 +02:00
Yajo ff9c91686f [8.0][IMP][mass_mailing_custom_unsubscribe] Get reasons for unsubscription (#58)
* [8.0][IMP][mass_mailing_custom_unsubscribe] Get reasons for unsubscription.
2020-08-24 10:26:34 +02:00
Jairo Llopis 51d8448be5 Add beautier pages for unsubscription process. 2020-08-24 10:26:34 +02:00
Pedro M. Baeza 4ef66978bf [MIG] Rename manifest files 2020-08-24 10:26:34 +02:00
Stéphane Bidoul (ACSONE) c00d77b7d0 [FIX] remove en.po that was erroneously created by transbot 2020-08-24 10:26:34 +02:00