You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Pedro M. Baeza aa294e5255 [FIX+IMP] mass_mailing_list_dynamic: tests, icons, filters... (#211) 7 years ago
..
data [11.0][MIG] mail_restrict_follower_selection 7 years ago
i18n Translated using Weblate (French) [ci skip] 7 years ago
models [IMP] disable the option to create followers that do not meet the conditions 7 years ago
static/description [ADD] mail_restrict_follower_selection 7 years ago
tests [IMP] disable the option to create followers that do not meet the conditions 7 years ago
README.rst [IMP] disable the option to create followers that do not meet the conditions 7 years ago
__init__.py [11.0][MIG] mail_restrict_follower_selection 7 years ago
__manifest__.py [IMP] disable the option to create followers that do not meet the conditions 7 years ago

README.rst

.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3

===========================
Restrict follower selection
===========================

This module was written to allow you to restrict the selection of possible followers. For example, if you use the social ERP functions only internally, it makes sense to filter possible followers for being employees. Otherwise, you'll get a quite crowded list of partners to choose from.

Moreover, the module disables the option to automatically add followers that do not meet the domain.

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

To configure this module, you need to go to `System parameters` and adjust `mail_restrict_follower_selection.domain` as you see fit. This restricts followers globally, if you want to restrict only the followers for a certain record type (or have different restrictions for different record types), create a parameter `mail_restrict_follower_selection.domain.$your_model`.

As an example, you could use `[('customer', '=', True)]` to allow only customers to be added as follower - this also is the default.

Note: This module won't change existing followers!

Usage
=====

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/205/11.0

For further information, please visit:

* https://www.odoo.com/forum/help-1

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
`here <https://github.com/OCA/social/issues/new?body=module:%20mail_restrict_follower_selection%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======

Contributors
------------

* Holger Brunn <hbrunn@therp.nl>
* Nguyen Tan Phuc <phuc.nt@komit-consulting.com>
* Enric Tobella <etobella@creublanca.es>

Maintainer
----------

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

This module is maintained by the OCA.

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.

To contribute to this module, please visit http://odoo-community.org.