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.

35 lines
1.4 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2016 Antonio Espinosa - <antonio.espinosa@tecnativa.com>
  3. Copyright 2017 Vicent Cubells - <vicent.cubells@tecnativa.com>
  4. Copyright 2017 David Vidal - <david.vidal@tecnativa.com>
  5. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
  6. <odoo>
  7. <record model="ir.actions.act_window" id="action_view_mail_tracking_email">
  8. <field name="name">Mail tracking emails</field>
  9. <field name="res_model">mail.tracking.email</field>
  10. <field name="view_type">form</field>
  11. <field name="view_mode">tree,form</field>
  12. <field name="domain">[('mass_mailing_id', '!=', False)]</field>
  13. </record>
  14. <record model="ir.actions.act_window" id="action_view_mail_tracking_event">
  15. <field name="name">Mail tracking events</field>
  16. <field name="res_model">mail.tracking.event</field>
  17. <field name="view_type">form</field>
  18. <field name="view_mode">tree,form</field>
  19. <field name="domain">[('mass_mailing_id', '!=', False)]</field>
  20. </record>
  21. <menuitem name="Mail tracking" id="mail_tracking_menu"
  22. parent="mass_mailing.mass_mailing_menu_root" sequence="50"/>
  23. <menuitem name="Emails" id="mail_tracking_email_menu"
  24. parent="mail_tracking_menu" sequence="1"
  25. action="action_view_mail_tracking_email"/>
  26. <menuitem name="Events" id="mail_tracking_event_menu"
  27. parent="mail_tracking_menu" sequence="2"
  28. action="action_view_mail_tracking_event"/>
  29. </odoo>