summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ledoux <dle@openerp.com>2014-04-14 11:08:25 +0200
committerDenis Ledoux <dle@openerp.com>2014-04-14 11:08:25 +0200
commita0b26b6cfe82f7dcab5fa198dbf01fc23e66bde4 (patch)
treed8a6fddaf4fa9a86e252a0b69a1fcc8944008b51
parentdf3c6b750249d33102cea4f1c0003df0b3fbb87c (diff)
[FIX] mass_mailing: mail_thread model redefined as a osv.Model, while the original mail thread is an AbstractModel. Mass mailing mail thread must be an Abstract Model as well
bzr revid: dle@openerp.com-20140414090825-o456mdd9q38m47mw
-rw-r--r--addons/mass_mailing/mail_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mass_mailing/mail_thread.py b/addons/mass_mailing/mail_thread.py
index a4ff15a1a3f..524341f88d7 100644
--- a/addons/mass_mailing/mail_thread.py
+++ b/addons/mass_mailing/mail_thread.py
@@ -29,7 +29,7 @@ from openerp.osv import osv
_logger = logging.getLogger(__name__)
-class MailThread(osv.Model):
+class MailThread(osv.AbstractModel):
""" Update MailThread to add the feature of bounced emails and replied emails
in message_process. """
_name = 'mail.thread'