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.

33 lines
1.3 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_partner_form">
  7. <field name="name">Partner Form with tracking emails</field>
  8. <field name="model">res.partner</field>
  9. <field name="inherit_id" ref="base.view_partner_form"/>
  10. <field name="arch" type="xml">
  11. <div class="oe_right oe_button_box" position="inside">
  12. <button name="%(mail_tracking.action_view_mail_tracking_email)d"
  13. context="{'search_default_recipient': email,
  14. 'default_recipient': email}"
  15. type="action"
  16. class="oe_stat_button oe_inline"
  17. icon="fa-envelope-o"
  18. attrs="{'invisible': [('email', '=', False)]}">
  19. <field name="tracking_emails_count"
  20. widget="statinfo"
  21. string="Tracking emails"/>
  22. </button>
  23. </div>
  24. <field name="email" position="after">
  25. <field name="email_score" widget="progressbar"
  26. attrs="{'invisible': [('email', '=', False)]}"/>
  27. </field>
  28. </field>
  29. </record>
  30. </data>
  31. </openerp>