[FIX] better default filter
This commit is contained in:
parent
c9bb06be2b
commit
51d0ca3216
@ -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`.
|
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!
|
Note: This module won't change existing followers!
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<data noupdate="1">
|
<data noupdate="1">
|
||||||
<record id="parameter_domain" model="ir.config_parameter">
|
<record id="parameter_domain" model="ir.config_parameter">
|
||||||
<field name="key">mail_restrict_follower_selection.domain</field>
|
<field name="key">mail_restrict_follower_selection.domain</field>
|
||||||
<field name="value">[('employee', '=', True)]</field>
|
<field name="value">[('customer', '=', True)]</field>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
Loading…
Reference in New Issue
Block a user