[FIX] mail: users can now create private mail_group.

bzr revid: tde@openerp.com-20121218121215-akxidhdegs4wjoeg
This commit is contained in:
Thibault Delavallée 2012-12-18 13:12:15 +01:00
parent 2dbe4a696e
commit f9cc1d4513
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@
<field name="model_id" ref="model_mail_group"/>
<!-- This rule has to be improved for employee only groups -->
<field name="domain_force">['|', '|', ('public', '=', 'public'), ('message_follower_ids', 'in', [user.partner_id.id]), '&amp;', ('public','=','groups'), ('group_public_id','in', [g.id for g in user.groups_id])]</field>
<field name="perm_create" eval="False"/>
</record>
<record id="mail_followers_read_write_own" model="ir.rule">