Jairo Llopis 708780cab9 [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.
2022-12-16 13:13:16 +01:00
2021-12-06 14:59:57 +00:00
2022-11-11 09:05:31 +00:00
2022-02-17 15:24:00 +00:00
2022-08-30 15:18:49 +00:00
2022-08-30 15:18:31 +00:00
2022-12-15 16:28:10 +00:00
2021-10-17 17:07:28 +02:00
2022-03-31 17:46:11 +02:00
2021-10-17 17:07:28 +02:00
2022-11-03 15:38:20 +01:00
2021-10-17 17:07:28 +02:00
2021-10-17 17:07:28 +02:00
2021-10-17 17:07:28 +02:00
2021-10-17 17:07:28 +02:00
2021-10-17 17:07:28 +02:00
2022-12-15 16:28:07 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

social

TODO: add repo description.

Available addons

addon version maintainers summary
base_search_mail_content 15.0.1.0.1 Base Search Mail Content
mail_activity_board 15.0.1.1.1 Add Activity Boards
mail_activity_creator 15.0.1.0.0 Show activities creator
mail_activity_done 15.0.1.0.0 Mail Activity Done
mail_activity_partner 15.0.1.0.0 Add Partner to Activities
mail_activity_team 15.0.1.3.0 Add Teams to Activities
mail_attach_existing_attachment 15.0.1.0.0 Adding attachment on the object by sending this one
mail_autosubscribe 15.0.1.0.3 Automatically subscribe partners to its company's business documents
mail_debrand 15.0.1.2.2 pedrobaeza joao-p-marques Remove Odoo branding in sent emails Removes anchor <a href odoo.com togheder with it's parent ( for powerd by) form all the templates removes any 'odoo' that are in tempalte texts > 20characters
mail_notification_custom_subject 15.0.1.0.2 yajo Apply a custom subject to mail notifications
mail_optional_autofollow 15.0.1.0.0 Choose if you want to automatically add new recipients as followers on mail.compose.message
mail_optional_follower_notification 15.0.1.0.1 Choose to notify followers on mail.compose.message
mail_outbound_static 15.0.1.0.0 Allows you to configure the from header for a mail server.
mail_parent_recipient 15.0.1.0.0 Send email to parent partner if partner's email is empty
mail_preview_base 15.0.1.0.0 Base to add more previewing options
mail_quoted_reply 15.0.1.0.0 Make a reply using a message
mail_show_follower 15.0.1.2.2 yajo Show CC document followers in mails.
mail_tracking 15.0.1.0.2 Email tracking system for all mails sent
mass_mailing_partner 15.0.1.0.0 Link partners with mass-mailing
mass_mailing_resend 15.0.1.0.0 pedrobaeza Resend mass mailings

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Description
OCA social fork
Readme 3.4 MiB
Languages
Python 48.5%
HTML 42.2%
JavaScript 8%
SCSS 1.3%