Browse Source

[FIX] api decorator fixed

pull/31/head
Javier Iniesta 9 years ago
parent
commit
d7af84aa09
  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