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.5 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_mail_statistics_form">
  7. <field name="name">Add tracking email info</field>
  8. <field name="model">mail.mail.statistics</field>
  9. <field name="inherit_id" ref="mass_mailing.view_mail_mail_statistics_form"/>
  10. <field name="arch" type="xml">
  11. <xpath expr="//form" position="inside">
  12. <group>
  13. <field name="mail_tracking_id" />
  14. </group>
  15. <label for="tracking_event_ids"/>
  16. <div>
  17. <field name="tracking_event_ids">
  18. <tree string="Tracking events" colors="grey:event_type in ('deferral');black:event_type in ('send');red:event_type in ('hard_bounce', 'soft_bounce', 'spam', 'reject');blue:event_type in ('unsub', 'click', 'open')">
  19. <field name="time"/>
  20. <field name="event_type"/>
  21. <field name="ip"/>
  22. <field name="url"/>
  23. <field name="user_country_id" string="Country"/>
  24. <field name="os_family" string="OS"/>
  25. <field name="ua_family" string="User agent"/>
  26. </tree>
  27. </field>
  28. </div>
  29. </xpath>
  30. </field>
  31. </record>
  32. </data>
  33. </openerp>