12345678910111213141516 |
- # -*- coding: utf-8 -*-
- # © 2016 Antonio Espinosa - <antonio.espinosa@tecnativa.com>
- # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
- from openerp import models, fields
- class MailMailStatistics(models.Model):
- _inherit = "mail.mail.statistics"
- mail_tracking_id = fields.Many2one(
- string="Seguimiento de Emails", comodel_name='mail.tracking.email',
- readonly=True)
- tracking_event_ids = fields.One2many(
- string="Eventos Emails", comodel_name='mail.tracking.event',
- related='mail_tracking_id.tracking_event_ids', readonly=True)
|