From d7af84aa0968c45957b6e85f7586bbe33a75772a Mon Sep 17 00:00:00 2001 From: Javier Iniesta Date: Mon, 21 Dec 2015 17:06:49 +0100 Subject: [PATCH] [FIX] api decorator fixed --- mass_mailing_statistic_extra/models/mail_mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mass_mailing_statistic_extra/models/mail_mail.py b/mass_mailing_statistic_extra/models/mail_mail.py index 08e1d718..f7e426dd 100644 --- a/mass_mailing_statistic_extra/models/mail_mail.py +++ b/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'):