You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
687 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo noupdate="1">
  3. <record id="mail_activity_rule_my_team" model="ir.rule">
  4. <field name="name">mail.activity: user: my team</field>
  5. <field name="model_id" ref="mail.model_mail_activity"/>
  6. <field name="domain_force">["|", ('team_id', 'in', user.activity_team_ids.ids), "&amp;", ('team_id', '=', False), ('user_id', '=', user.id)]</field>
  7. <field name="groups" eval="[(4, ref('base.group_user'))]"/>
  8. <field name="perm_create" eval="True"/>
  9. <field name="perm_read" eval="False"/>
  10. <field name="perm_write" eval="True"/>
  11. <field name="perm_unlink" eval="True"/>
  12. </record>
  13. </odoo>