Commit Graph

35 Commits (d9c25d149def1d6c1279e17d21238e7ab76f444c)

Author SHA1 Message Date
david ae2c2fcd65 [IMP] mass_mailing_custom_unsubscribe: chatter permissions
Otherwise only admins can put notes
2021-03-30 13:06:02 +02:00
Jairo Llopis 4bb026efe0
[IMP] pre-commit run -a 2021-01-27 14:12:45 +00:00
OCA Transbot c18cbdf5a6 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mass_mailing_custom_unsubscribe
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mass_mailing_custom_unsubscribe/
2020-11-17 20:20:23 +00:00
oca-travis 16f4835be2 [UPD] Update mass_mailing_custom_unsubscribe.pot 2020-11-17 20:12:47 +00:00
OCA Transbot 6c9bbc5ae6 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mass_mailing_custom_unsubscribe
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mass_mailing_custom_unsubscribe/
2020-10-06 17:42:38 +00:00
OCA-git-bot 5ec53e14e9 mass_mailing_custom_unsubscribe 13.0.1.0.1 2020-08-28 08:57:00 +00:00
Carlos Roca 80eb0afecd [FIX] mass_mailing_custom_unsubscribe: Added the changes to avoid the linter warnings 2020-08-28 10:09:05 +02:00
OCA-git-bot 0f4ab112f8 [UPD] README.rst 2020-08-27 13:30:45 +00:00
oca-travis e482d70b34 [UPD] Update mass_mailing_custom_unsubscribe.pot 2020-08-27 13:17:08 +00:00
Carlos Roca 1a5653116e [MIG] mass_mailing_custom_unsubscribe: Migration to v13.0 2020-08-26 08:57:06 +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
Pedro M. Baeza fa9bd52053 [MIG] Make modules uninstallable 2020-08-24 10:26:34 +02:00
OCA Transbot f474debdd8 OCA Transbot updated translations from Transifex 2020-08-24 10:26:34 +02:00
Antonio Espinosa 8437fa953a [ADD] mass_mailing_custom_unsubscribe addon 2020-08-24 10:26:34 +02:00