social/mass_mailing_custom_unsubscribe
Pedro M. Baeza c2ac2eb4d4 [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`.
2022-12-16 13:13:16 +01:00
..
controllers [ADD] mass_mailing_custom_unsubscribe_event: Allow to unsubscribe discretely from an event 2022-12-16 13:13:16 +01:00
data [IMP] mass_mailing_custom_unsubscribe: GDPR compliance (#267) 2022-12-16 13:13:16 +01:00
demo [MIG] mass_mailing_custom_unsubscribe: Migration to 12.0 2022-12-16 13:13:16 +01:00
i18n Translated using Weblate (Slovenian) 2022-12-16 13:13:16 +01:00
models [ADD] mass_mailing_custom_unsubscribe_event: Allow to unsubscribe discretely from an event 2022-12-16 13:13:16 +01:00
readme [ADD] mass_mailing_custom_unsubscribe_event: Allow to unsubscribe discretely from an event 2022-12-16 13:13:16 +01:00
security [MIG][mass_mailing_custom_unsubscribe] Migrate to v10 2022-12-16 13:13:16 +01:00
static [ADD] mass_mailing_custom_unsubscribe_event: Allow to unsubscribe discretely from an event 2022-12-16 13:13:16 +01:00
templates [MIG] mass_mailing_custom_unsubscribe: Migration to 12.0 2022-12-16 13:13:16 +01:00
tests [MIG] mass_mailing_custom_unsubscribe: Migration to 12.0 2022-12-16 13:13:16 +01:00
views [MIG] mass_mailing_custom_unsubscribe: Migration to 12.0 2022-12-16 13:13:16 +01:00
__init__.py [MIG] mass_mailing_custom_unsubscribe: Migration to 12.0 2022-12-16 13:13:16 +01:00
__manifest__.py [ADD] mass_mailing_custom_unsubscribe_event: Allow to unsubscribe discretely from an event 2022-12-16 13:13:16 +01:00
exceptions.py [MIG] mass_mailing_custom_unsubscribe: Migration to 11.0 2022-12-16 13:13:16 +01:00
README.rst [ADD] mass_mailing_custom_unsubscribe_event: Allow to unsubscribe discretely from an event 2022-12-16 13:13:16 +01:00

==========================================================
Customizable unsubscription process on mass mailing emails
==========================================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
    :target: https://github.com/OCA/social/tree/12.0/mass_mailing_custom_unsubscribe
    :alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mass_mailing_custom_unsubscribe
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
    :target: https://runbot.odoo-community.org/runbot/205/12.0
    :alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5| 

This addon extends the unsubscription form to let you:

- Choose which mailing lists are not cross-unsubscriptable when unsubscribing
  from a different one.
- Know why and when a contact has been subscribed or unsubscribed from a
  mass mailing.
- Provide proof on why you are sending mass mailings to a given contact, as
  required by the GDPR in Europe.
- Handle discrete unsubscriptions from other recipients that are not a mailing
  list. On standard module, unsubscriptions from these recipients directly
  include that mail on the general blacklist.

**Table of contents**

.. contents::
   :local:

Configuration
=============

You can customize what reasons will be displayed to your unsubscriptors when
they are going to unsubscribe. To do it:

#. Go to *Email Marketing > Configuration > Unsubscription Reasons*.
#. Create / edit / remove / sort as usual.
#. If *Details required* is enabled, they will have to fill a text area to
   continue.

For having discrete unsubscriptions from other recipients than the mailing
lists, you need to add a glue module that adds 2 fields in the associated
model:

- `opt_out`.
- Either `email` or `email_from`.

See `mass_mailing_custom_unsubscribe_event` for an example.

Usage
=====

Once configured:

#. Go to *Email Marketing > Mailings > Create*.
#. Edit your mass mailing at wish, but remember to add a snippet from
   *Footers*, so people have an *Unsubscribe* link.
#. Send it.
#. If somebody gets unsubscribed, you will see logs about that under
   *Email Marketing > Unsubscriptions*.

Known issues / Roadmap
======================

* This module replaces AJAX submission core implementation from the mailing
  list management form, because it is impossible to extend it. When this is
  fixed, this addon will need a refactoring (mostly removing
  duplicated functionality and depending on it instead of replacing it).

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mass_mailing_custom_unsubscribe%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

  * Rafael Blasco
  * Antonio Espinosa
  * Jairo Llopis
  * David Vidal
  * Ernesto Tejeda
  * Pedro M. Baeza

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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.

This module is part of the `OCA/social <https://github.com/OCA/social/tree/12.0/mass_mailing_custom_unsubscribe>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.