[FIX] event: remove duplicated method

Oversight of previous forward-port
This commit is contained in:
Christophe Simonis
2018-07-30 15:46:52 +02:00
parent a6e401a2ee
commit 3376bad191
-11
View File
@@ -483,17 +483,6 @@ class EventRegistration(models.Model):
]).write({'partner_id': new_partner.id})
return super(EventRegistration, self)._message_post_after_hook(message, values, notif_layout)
@api.multi
def message_get_default_recipients(self):
# Prioritize registration email over partner_id, which may be shared when a single
# partner booked multiple seats
return {
r.id: {'partner_ids': [],
'email_to': r.email,
'email_cc': False}
for r in self
}
@api.multi
def action_send_badge_email(self):
""" Open a window to compose an email, with the template - 'event_badge'