social/mail_activity_team/security/mail_activity_team_security.xml

16 lines
687 B
XML
Raw Normal View History

2018-11-27 09:35:55 +01:00
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<record id="mail_activity_rule_my_team" model="ir.rule">
<field name="name">mail.activity: user: my team</field>
<field name="model_id" ref="mail.model_mail_activity"/>
2018-11-27 12:22:49 +01:00
<field name="domain_force">["|", ('team_id', 'in', user.activity_team_ids.ids), "&amp;", ('team_id', '=', False), ('user_id', '=', user.id)]</field>
2018-11-27 09:35:55 +01:00
<field name="groups" eval="[(4, ref('base.group_user'))]"/>
<field name="perm_create" eval="True"/>
2018-11-27 12:22:49 +01:00
<field name="perm_read" eval="False"/>
2018-11-27 09:35:55 +01:00
<field name="perm_write" eval="True"/>
<field name="perm_unlink" eval="True"/>
</record>
</odoo>