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_mail_statistics_form">
  7. <field name="name">Add partner field</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. <field name="res_id" position="after">
  12. <field name="partner_id"/>
  13. </field>
  14. </field>
  15. </record>
  16. <record model="ir.ui.view" id="view_mail_mail_statistics_tree">
  17. <field name="name">Add partner column</field>
  18. <field name="model">mail.mail.statistics</field>
  19. <field name="inherit_id" ref="mass_mailing.view_mail_mail_statistics_tree"/>
  20. <field name="arch" type="xml">
  21. <field name="sent" position="before">
  22. <field name="partner_id"/>
  23. </field>
  24. </field>
  25. </record>
  26. <record model="ir.ui.view" id="view_mail_mail_statistics_search">
  27. <field name="name">Add partner search field and group by</field>
  28. <field name="model">mail.mail.statistics</field>
  29. <field name="inherit_id" ref="mass_mailing.view_mail_mail_statistics_search"/>
  30. <field name="arch" type="xml">
  31. <field name="mass_mailing_id" position="after">
  32. <field name="partner_id"/>
  33. </field>
  34. <filter name="group_reply_date" position="after">
  35. <filter string="Partner"
  36. name="group_partner"
  37. context="{'group_by': 'partner_id'}"/>
  38. </filter>
  39. </field>
  40. </record>
  41. </data>
  42. </openerp>