123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?xml version="1.0" encoding="utf-8"?>
- <!-- © 2016 Antonio Espinosa - <antonio.espinosa@tecnativa.com>
- License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
- <openerp>
- <data>
- <record model="ir.ui.view" id="view_partner_form">
- <field name="name">Formulario de Seguimiento emails-Partners</field>
- <field name="model">res.partner</field>
- <field name="inherit_id" ref="base.view_partner_form"/>
- <field name="arch" type="xml">
- <div class="oe_right oe_button_box" position="inside">
- <button name="%(mail_tracking.action_view_mail_tracking_email)d"
- context="{'search_default_recipient': email,
- 'default_recipient': email}"
- type="action"
- class="oe_stat_button oe_inline"
- icon="fa-envelope-o"
- attrs="{'invisible': [('email', '=', False)]}">
- <field name="tracking_emails_count"
- widget="statinfo"
- string="Email Newsletter"/>
- </button>
- </div>
- <!-- <field name="email" position="after">
- <field name="email_score" widget="progressbar"
- attrs="{'invisible': [('email', '=', False)]}"/>
- <field name="email_bounced"
- attrs="{'invisible': [('email', '=', False)]}"/>
- </field> -->
- </field>
- </record>
- <record model="ir.ui.view" id="view_res_partner_filter">
- <field name="name">Filtro de Rebotes - Partners</field>
- <field name="model">res.partner</field>
- <field name="inherit_id" ref="base.view_res_partner_filter"/>
- <field name="arch" type="xml">
- <filter name="type_company" position="after">
- <separator/>
- <filter string="Email Rebotado" name="email_bounced"
- domain="[('email', '!=' , False), ('email_bounced', '=', True)]"/>
- </filter>
- </field>
- </record>
- </data>
- </openerp>
|