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.

34 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. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
  5. <odoo>
  6. <record model="ir.actions.act_window" id="action_view_mail_tracking_email">
  7. <field name="name">Mail tracking emails</field>
  8. <field name="res_model">mail.tracking.email</field>
  9. <field name="view_type">form</field>
  10. <field name="view_mode">tree,form</field>
  11. <field name="domain">[('mass_mailing_id', '!=', False)]</field>
  12. </record>
  13. <record model="ir.actions.act_window" id="action_view_mail_tracking_event">
  14. <field name="name">Mail tracking events</field>
  15. <field name="res_model">mail.tracking.event</field>
  16. <field name="view_type">form</field>
  17. <field name="view_mode">tree,form</field>
  18. <field name="domain">[('mass_mailing_id', '!=', False)]</field>
  19. </record>
  20. <menuitem name="Mail tracking" id="mail_tracking_menu"
  21. parent="base.marketing_menu" sequence="50"/>
  22. <menuitem name="Emails" id="mail_tracking_email_menu"
  23. parent="mail_tracking_menu" sequence="1"
  24. action="action_view_mail_tracking_email"/>
  25. <menuitem name="Events" id="mail_tracking_event_menu"
  26. parent="mail_tracking_menu" sequence="2"
  27. action="action_view_mail_tracking_event"/>
  28. </odoo>