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.

57 lines
2.2 KiB

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