You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
417 B

  1. # -*- coding: utf-8 -*-
  2. # Copyright 2017 Emanuel Cino - <ecino@compassion.com>
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  4. from odoo import models, api
  5. class MailTrackingEvent(models.Model):
  6. _inherit = "mail.tracking.event"
  7. @api.model
  8. def process_sent(self, tracking_email, metadata):
  9. return self._process_status(
  10. tracking_email, metadata, 'sent', 'sent')