Browse Source

Merge pull request #31 from Antiun/8.0-fix_mass_mailing_statistic_extra

[FIX] api decorator fixed
pull/25/head
Pedro M. Baeza 9 years ago
parent
commit
225620e997
  1. 2
      mass_mailing_statistic_extra/models/mail_mail.py

2
mass_mailing_statistic_extra/models/mail_mail.py

@ -19,7 +19,7 @@ class MailMail(models.Model):
email_list += email_to
return email_list
@api.multi
@api.model
def create(self, vals):
mail = super(MailMail, self).create(vals)
if vals.get('statistics_ids'):

Loading…
Cancel
Save