mirror of https://github.com/OCA/social.git
[FIX] pre-commit run -a
parent
55f9271937
commit
2724284aaa
|
@ -10,23 +10,29 @@
|
||||||
<field name="inherit_id" ref="base.view_partner_form" />
|
<field name="inherit_id" ref="base.view_partner_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<div name="button_box" position="inside">
|
<div name="button_box" position="inside">
|
||||||
<button name="%(mail_tracking.action_view_mail_tracking_email)d"
|
<button
|
||||||
|
name="%(mail_tracking.action_view_mail_tracking_email)d"
|
||||||
context="{'search_default_recipient': email,
|
context="{'search_default_recipient': email,
|
||||||
'default_recipient': email}"
|
'default_recipient': email}"
|
||||||
type="action"
|
type="action"
|
||||||
class="oe_stat_button"
|
class="oe_stat_button"
|
||||||
icon="fa-envelope-o"
|
icon="fa-envelope-o"
|
||||||
attrs="{'invisible': [('email', '=', False)]}">
|
attrs="{'invisible': [('email', '=', False)]}"
|
||||||
<field name="tracking_emails_count"
|
>
|
||||||
|
<field
|
||||||
|
name="tracking_emails_count"
|
||||||
widget="statinfo"
|
widget="statinfo"
|
||||||
string="Tracking emails"/>
|
string="Tracking emails"
|
||||||
|
/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<xpath expr="//field[@name='email']/.." position="after">
|
<xpath expr="//field[@name='email']/.." position="after">
|
||||||
<field name="email_score" widget="progressbar"
|
<field
|
||||||
attrs="{'invisible': [('email', '=', False)]}"/>
|
name="email_score"
|
||||||
<field name="email_bounced"
|
widget="progressbar"
|
||||||
attrs="{'invisible': [('email', '=', False)]}"/>
|
attrs="{'invisible': [('email', '=', False)]}"
|
||||||
|
/>
|
||||||
|
<field name="email_bounced" attrs="{'invisible': [('email', '=', False)]}" />
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
@ -38,8 +44,11 @@
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<filter name="type_company" position="after">
|
<filter name="type_company" position="after">
|
||||||
<separator />
|
<separator />
|
||||||
<filter string="Email bounced" name="email_bounced"
|
<filter
|
||||||
domain="[('email', '!=' , False), ('email_bounced', '=', True)]"/>
|
string="Email bounced"
|
||||||
|
name="email_bounced"
|
||||||
|
domain="[('email', '!=' , False), ('email_bounced', '=', True)]"
|
||||||
|
/>
|
||||||
</filter>
|
</filter>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
Loading…
Reference in New Issue