summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-07-30 15:46:52 +0200
committerChristophe Simonis <chs@odoo.com>2018-07-30 15:46:52 +0200
commit3376bad191d708793c72809badd720cee262702f (patch)
treee27d2e53fdff31d86028a820d95f0b7fbbb5bfe5 /addons
parenta6e401a2eebd98adf3b0661a45cbe747384d3ae7 (diff)
[FIX] event: remove duplicated method
Oversight of previous forward-port
Diffstat (limited to 'addons')
-rw-r--r--addons/event/models/event.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/addons/event/models/event.py b/addons/event/models/event.py
index afeb345b4ee..99f6b35eb52 100644
--- a/addons/event/models/event.py
+++ b/addons/event/models/event.py
@@ -484,17 +484,6 @@ class EventRegistration(models.Model):
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'
message loaded by default