OCA social fork
Go to file
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
.github/workflows [IMP] update dotfiles [ci skip] 2022-03-31 17:46:11 +02:00
base_search_mail_content Update translation files 2022-08-30 15:18:52 +00:00
mail_activity_board mail_activity_board 15.0.1.1.1 2022-08-29 06:21:08 +00:00
mail_activity_creator [UPD] README.rst 2021-12-06 14:59:57 +00:00
mail_activity_done Update translation files 2022-08-30 15:18:52 +00:00
mail_activity_partner [FIX] mail_activity_partner: Remove test folder from __init__ 2022-11-03 15:41:27 +01:00
mail_activity_team mail_activity_team 15.0.1.3.0 2022-11-02 15:54:26 +00:00
mail_attach_existing_attachment [UPD] README.rst 2022-01-21 08:34:33 +00:00
mail_autosubscribe mail_autosubscribe 15.0.1.0.3 2022-07-21 06:32:31 +00:00
mail_debrand [FIX] mail_debrand: Set proper default engine in _render_template() function 2022-10-19 13:29:00 +02:00
mail_notification_custom_subject mail_notification_custom_subject 15.0.1.0.2 2022-12-14 10:45:48 +00:00
mail_optional_autofollow Update translation files 2022-10-17 15:52:12 +00:00
mail_optional_follower_notification [IMP] update dotfiles [ci skip] 2022-12-12 00:16:03 +01:00
mail_outbound_static [FIX] mail_outbound_static: Remove warning 2022-10-19 13:07:50 +02:00
mail_parent_recipient [ADD] icon.png 2022-11-11 09:05:31 +00:00
mail_preview_base [UPD] README.rst 2022-02-17 15:24:00 +00:00
mail_quoted_reply Update translation files 2022-12-15 20:08:39 +00:00
mail_show_follower mail_show_follower 15.0.1.2.2 2022-12-02 10:43:58 +00:00
mail_tracking Update translation files 2022-08-30 15:18:49 +00:00
mass_mailing_custom_unsubscribe [9.0][MIG][mass_mailing_custom_unsubscribe] Migrate. 2022-12-16 13:13:16 +01:00
mass_mailing_partner [UPD] README.rst 2022-08-30 15:18:31 +00:00
mass_mailing_resend Update translation files 2022-11-16 20:11:39 +00:00
setup [ADD] setup.py 2022-12-15 16:28:10 +00:00
.copier-answers.yml [IMP] update dotfiles [ci skip] 2022-12-12 00:16:03 +01:00
.editorconfig Initialize 15.0 branch 2021-10-17 17:07:28 +02:00
.eslintrc.yml [IMP] update dotfiles [ci skip] 2022-03-31 17:46:11 +02:00
.flake8 Initialize 15.0 branch 2021-10-17 17:07:28 +02:00
.gitignore [DCK] Updated from template 2022-11-03 15:38:20 +01:00
.isort.cfg Initialize 15.0 branch 2021-10-17 17:07:28 +02:00
.pre-commit-config.yaml [IMP] update dotfiles [ci skip] 2022-12-12 00:16:03 +01:00
.prettierrc.yml Initialize 15.0 branch 2021-10-17 17:07:28 +02:00
.pylintrc Initialize 15.0 branch 2021-10-17 17:07:28 +02:00
.pylintrc-mandatory Initialize 15.0 branch 2021-10-17 17:07:28 +02:00
LICENSE Initialize 15.0 branch 2021-10-17 17:07:28 +02:00
README.md [UPD] addons table in README.md 2022-12-15 16:28:07 +00:00
requirements.txt [FIX] mail_autosubscribe: missing dependency 2022-07-07 07:29:19 +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.