Browse Source

[FIX] better default filter

pull/249/merge
Holger Brunn 9 years ago
parent
commit
81d9c08161
  1. 2
      mail_restrict_follower_selection/README.rst
  2. 2
      mail_restrict_follower_selection/data/ir_config_parameter.xml

2
mail_restrict_follower_selection/README.rst

@ -10,7 +10,7 @@ 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.
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!

2
mail_restrict_follower_selection/data/ir_config_parameter.xml

@ -3,7 +3,7 @@
<data noupdate="1">
<record id="parameter_domain" model="ir.config_parameter">
<field name="key">mail_restrict_follower_selection.domain</field>
<field name="value">[('employee', '=', True)]</field>
<field name="value">[('customer', '=', True)]</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save