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.

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