| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# Part of Odoo. See LICENSE file for full copyright and licensing details. |
| 3 |
|
| 4 |
from odoo import models |
| 5 |
|
| 6 |
|
| 7 |
class EventEvent(models.Model): |
| 8 |
_inherit = "event.event" |
| 9 |
|
| 10 |
def action_mass_mailing_track_speakers(self): |
| 11 |
# Minimal override: set form view being the one mixing sms and mail (not prioritized one) |
| 12 |
action = super().action_mass_mailing_track_speakers() |
| 13 |
action['view_id'] = self.env.ref('mass_mailing_sms.mailing_mailing_view_form_mixed').id |
| 14 |
return action |