From f64e05c61a6398b126dc4162728c0cc89dd374a2 Mon Sep 17 00:00:00 2001 From: Hansa Rathod Date: Tue, 10 Jul 2018 14:08:54 +0530 Subject: [PATCH] [IMP]: Added Upstream patch for Mass Mailing Event Track --- addons/mass_mailing_event_track/models/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mass_mailing_event_track/models/event.py b/addons/mass_mailing_event_track/models/event.py index bb442d2e..9bb873ea 100644 --- a/addons/mass_mailing_event_track/models/event.py +++ b/addons/mass_mailing_event_track/models/event.py @@ -16,7 +16,7 @@ class Event(models.Model): view_mode='form', target='current', context=dict( - default_mailing_model=self.env.ref('website_event_track.model_event_track').id, + default_mailing_model_id=self.env.ref('website_event_track.model_event_track').id, default_mailing_domain="[('event_id', 'in', %s), ('stage_id.is_cancel', '!=', True)]" % self.ids, ), )