diff --git a/golem_mail_activity_registration/models/golem_activity.py b/golem_mail_activity_registration/models/golem_activity.py index 33fa13f..7c00b24 100644 --- a/golem_mail_activity_registration/models/golem_activity.py +++ b/golem_mail_activity_registration/models/golem_activity.py @@ -24,6 +24,11 @@ class GolemActivity(models.Model): """ GOLEM Activity adaptations """ _inherit = 'golem.activity' + @api.multi + def activity_members_mass_mailing(self): + return self.get_mass_mailing_action('members') + + @api.multi def get_mass_mailing_action(self, action_type): """ Call activity mass mailing presend wizard """ diff --git a/golem_mail_activity_registration/views/golem_mail_activity_views.xml b/golem_mail_activity_registration/views/golem_mail_activity_views.xml index 46fb232..2e9cb86 100644 --- a/golem_mail_activity_registration/views/golem_mail_activity_views.xml +++ b/golem_mail_activity_registration/views/golem_mail_activity_views.xml @@ -18,6 +18,21 @@ along with this program. If not, see . --> + + + Golem Activity form adaptations golem mail activity registration + golem.activity + + + +
+
+
+
+
Activity members mass mailing