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.

63 lines
2.4 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. ===========================
  4. Restrict follower selection
  5. ===========================
  6. 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.
  7. Moreover, the module disables the option to automatically add followers that do not meet the domain.
  8. Configuration
  9. =============
  10. 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`.
  11. As an example, you could use `[('customer', '=', True)]` to allow only customers to be added as follower - this also is the default.
  12. Note: This module won't change existing followers!
  13. Usage
  14. =====
  15. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  16. :alt: Try me on Runbot
  17. :target: https://runbot.odoo-community.org/runbot/205/11.0
  18. For further information, please visit:
  19. * https://www.odoo.com/forum/help-1
  20. Bug Tracker
  21. ===========
  22. Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
  23. In case of trouble, please check there if your issue has already been reported.
  24. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  25. `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**>`_.
  26. Credits
  27. =======
  28. Contributors
  29. ------------
  30. * Holger Brunn <hbrunn@therp.nl>
  31. * Nguyen Tan Phuc <phuc.nt@komit-consulting.com>
  32. * Enric Tobella <etobella@creublanca.es>
  33. Maintainer
  34. ----------
  35. .. image:: https://odoo-community.org/logo.png
  36. :alt: Odoo Community Association
  37. :target: https://odoo-community.org
  38. This module is maintained by the OCA.
  39. OCA, or the Odoo Community Association, is a nonprofit organization whose
  40. mission is to support the collaborative development of Odoo features and
  41. promote its widespread use.
  42. To contribute to this module, please visit http://odoo-community.org.