Browse Source

Merge pull request #152 from Tecnativa/9.0-mail_tracking-show_error_details

[9.0][IMP] mail_tracking: Improve view with error details
pull/155/head
Dave Lasley 8 years ago
committed by GitHub
parent
commit
a2af9c53e5
  1. 4
      mail_tracking/views/mail_tracking_event_view.xml

4
mail_tracking/views/mail_tracking_event_view.xml

@ -61,6 +61,7 @@
<field name="tracking_email_id"/> <field name="tracking_email_id"/>
<field name="recipient"/> <field name="recipient"/>
<field name="event_type"/> <field name="event_type"/>
<field name="error_details" invisible="not context.get('event_error_filter', False)"/>
<field name="date" invisible="1"/> <field name="date" invisible="1"/>
<field name="ip"/> <field name="ip"/>
<field name="url"/> <field name="url"/>
@ -91,7 +92,8 @@
<filter name="bounce" string="Bounce" <filter name="bounce" string="Bounce"
domain="[('event_type', 'in', ('hard_bounce', 'soft_bounce'))]"/> domain="[('event_type', 'in', ('hard_bounce', 'soft_bounce'))]"/>
<filter name="exception" string="Failed" <filter name="exception" string="Failed"
domain="[('event_type', 'in', ('reject', 'spam'))]"/>
domain="[('event_type', 'in', ('reject', 'spam'))]"
context="{'event_error_filter': True}"/>
<separator/> <separator/>
<group expand="0" string="Group By"> <group expand="0" string="Group By">
<filter string="Type" domain="[]" context="{'group_by': 'event_type'}"/> <filter string="Type" domain="[]" context="{'group_by': 'event_type'}"/>

Loading…
Cancel
Save