[FIX] better default filter

This commit is contained in:
Holger Brunn 2015-09-04 10:37:33 +02:00 committed by Aungkokolin1997
parent c9bb06be2b
commit 51d0ca3216
2 changed files with 2 additions and 2 deletions

View File

@ -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!

View File

@ -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>