[9.0][IMP] mail_tracking: Improve view with error details

This commit is contained in:
Carlos Dauden 2017-02-08 15:21:23 +01:00 committed by Jasmin Solanki
parent 3cf2e670cf
commit e5f079122f

View File

@ -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'}"/>