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.

16 lines
757 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2016 Antonio Espinosa - <antonio.espinosa@tecnativa.com>
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
  4. <odoo>
  5. <record model="ir.rule" id="mail_tracking_email_portal_public_rule">
  6. <field name="name">mail_tracking_email: portal/public: read access on my email trackings</field>
  7. <field name="model_id" ref="model_mail_tracking_email"/>
  8. <field name="domain_force">[('partner_id', '=', user.partner_id.id)]</field>
  9. <field name="groups" eval="[(4, ref('base.group_portal')), (4, ref('base.group_public'))]"/>
  10. <field name="perm_create" eval="False"/>
  11. <field name="perm_unlink" eval="False"/>
  12. <field name="perm_write" eval="False"/>
  13. </record>
  14. </odoo>