2021-01-26 15:06:17 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
2017-06-14 20:47:41 +02:00
|
|
|
<!-- Copyright 2016 Antonio Espinosa - <antonio.espinosa@tecnativa.com>
|
2020-02-10 11:40:11 +01:00
|
|
|
Copyright 2020 Tecnativa - Manuel Calero
|
2016-08-08 13:14:37 +02:00
|
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
|
2017-06-14 20:47:41 +02:00
|
|
|
<odoo>
|
2016-08-08 13:14:37 +02:00
|
|
|
|
2020-02-10 11:40:11 +01:00
|
|
|
<record model="ir.ui.view" id="mailing_trace_view_form">
|
2016-08-08 13:14:37 +02:00
|
|
|
<field name="name">Add partner field</field>
|
2020-02-10 11:40:11 +01:00
|
|
|
<field name="model">mailing.trace</field>
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="inherit_id" ref="mass_mailing.mailing_trace_view_form" />
|
2016-08-08 13:14:37 +02:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="res_id" position="after">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="partner_id" />
|
2016-08-08 13:14:37 +02:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2020-02-10 11:40:11 +01:00
|
|
|
<record model="ir.ui.view" id="mailing_trace_view_tree">
|
2016-08-08 13:14:37 +02:00
|
|
|
<field name="name">Add partner column</field>
|
2020-02-10 11:40:11 +01:00
|
|
|
<field name="model">mailing.trace</field>
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="inherit_id" ref="mass_mailing.mailing_trace_view_tree" />
|
2016-08-08 13:14:37 +02:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="sent" position="before">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="partner_id" />
|
2016-08-08 13:14:37 +02:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2020-02-10 11:40:11 +01:00
|
|
|
<record model="ir.ui.view" id="mailing_trace_view_search">
|
2016-08-08 13:14:37 +02:00
|
|
|
<field name="name">Add partner search field and group by</field>
|
2020-02-10 11:40:11 +01:00
|
|
|
<field name="model">mailing.trace</field>
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="inherit_id" ref="mass_mailing.mailing_trace_view_search" />
|
2016-08-08 13:14:37 +02:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="mass_mailing_id" position="after">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="partner_id" />
|
2016-08-08 13:14:37 +02:00
|
|
|
</field>
|
|
|
|
<filter name="group_reply_date" position="after">
|
2021-01-26 15:06:17 +01:00
|
|
|
<filter
|
|
|
|
string="Partner"
|
2016-08-08 13:14:37 +02:00
|
|
|
name="group_partner"
|
2021-01-26 15:06:17 +01:00
|
|
|
context="{'group_by': 'partner_id'}"
|
|
|
|
/>
|
2016-08-08 13:14:37 +02:00
|
|
|
</filter>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2017-06-14 20:47:41 +02:00
|
|
|
</odoo>
|