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.

46 lines
1.7 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- © 2016 Antonio Espinosa - <antonio.espinosa@tecnativa.com>
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
  4. <openerp>
  5. <data>
  6. <record model="ir.ui.view" id="view_mail_mass_mailing_form">
  7. <field name="name">Add avoid resend field</field>
  8. <field name="model">mail.mass_mailing</field>
  9. <field name="inherit_id" ref="mass_mailing.view_mail_mass_mailing_form"/>
  10. <field name="arch" type="xml">
  11. <field name="mass_mailing_campaign_id" position="before">
  12. <field name="avoid_resend"/>
  13. </field>
  14. </field>
  15. </record>
  16. <record model="ir.actions.act_window" id="action_view_mail_tracking_email">
  17. <field name="name">Mail tracking emails</field>
  18. <field name="res_model">mail.tracking.email</field>
  19. <field name="view_type">form</field>
  20. <field name="view_mode">tree,form</field>
  21. <field name="domain">[('mass_mailing_id', '!=', False)]</field>
  22. </record>
  23. <record model="ir.actions.act_window" id="action_view_mail_tracking_event">
  24. <field name="name">Mail tracking events</field>
  25. <field name="res_model">mail.tracking.event</field>
  26. <field name="view_type">form</field>
  27. <field name="view_mode">tree,form</field>
  28. <field name="domain">[('mass_mailing_id', '!=', False)]</field>
  29. </record>
  30. <menuitem name="Mail tracking" id="mail_tracking_menu"
  31. parent="base.marketing_menu" sequence="50"/>
  32. <menuitem name="Emails" id="mail_tracking_email_menu"
  33. parent="mail_tracking_menu" sequence="1"
  34. action="action_view_mail_tracking_email"/>
  35. <menuitem name="Events" id="mail_tracking_event_menu"
  36. parent="mail_tracking_menu" sequence="2"
  37. action="action_view_mail_tracking_event"/>
  38. </data>
  39. </openerp>