[IMP]: Added Upstream patch for Mass Mailing Event Track

This commit is contained in:
Hansa Rathod 2018-07-10 14:08:54 +05:30
parent f780ec241f
commit f64e05c61a

View File

@ -16,7 +16,7 @@ class Event(models.Model):
view_mode='form', view_mode='form',
target='current', target='current',
context=dict( 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, default_mailing_domain="[('event_id', 'in', %s), ('stage_id.is_cancel', '!=', True)]" % self.ids,
), ),
) )