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.

44 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2016 Antonio Espinosa - <antonio.espinosa@tecnativa.com>
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
  4. <odoo>
  5. <record model="ir.ui.view" id="view_mail_mail_statistics_form">
  6. <field name="name">Add partner field</field>
  7. <field name="model">mail.mail.statistics</field>
  8. <field name="inherit_id" ref="mass_mailing.view_mail_mail_statistics_form"/>
  9. <field name="arch" type="xml">
  10. <field name="res_id" position="after">
  11. <field name="partner_id"/>
  12. </field>
  13. </field>
  14. </record>
  15. <record model="ir.ui.view" id="view_mail_mail_statistics_tree">
  16. <field name="name">Add partner column</field>
  17. <field name="model">mail.mail.statistics</field>
  18. <field name="inherit_id" ref="mass_mailing.view_mail_mail_statistics_tree"/>
  19. <field name="arch" type="xml">
  20. <field name="sent" position="before">
  21. <field name="partner_id"/>
  22. </field>
  23. </field>
  24. </record>
  25. <record model="ir.ui.view" id="view_mail_mail_statistics_search">
  26. <field name="name">Add partner search field and group by</field>
  27. <field name="model">mail.mail.statistics</field>
  28. <field name="inherit_id" ref="mass_mailing.view_mail_mail_statistics_search"/>
  29. <field name="arch" type="xml">
  30. <field name="mass_mailing_id" position="after">
  31. <field name="partner_id"/>
  32. </field>
  33. <filter name="group_reply_date" position="after">
  34. <filter string="Partner"
  35. name="group_partner"
  36. context="{'group_by': 'partner_id'}"/>
  37. </filter>
  38. </field>
  39. </record>
  40. </odoo>