From 6763a012051b4922dd5f0eeb41413e0620e2f1d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 28 Feb 2012 16:34:55 +0100 Subject: [PATCH] [IMP] Changed class name to mail.needaction while it is in mail module. bzr revid: tde@openerp.com-20120228153455-zi7rdcwd8ugsot40 --- addons/mail/base_needaction.py | 4 ++-- addons/mail/mail_thread.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/mail/base_needaction.py b/addons/mail/base_needaction.py index 887b77faa2e..1c7797a9072 100644 --- a/addons/mail/base_needaction.py +++ b/addons/mail/base_needaction.py @@ -25,10 +25,10 @@ import logging from osv import osv, fields from tools.translate import _ -class base_needaction(osv.osv): +class mail_needaction(osv.osv): '''TODO ''' - _name = 'base.needaction' + _name = 'mail.needaction' _description = 'Need action Engine' _columns = { diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index 85c297fb07f..fbf284c17f7 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -53,6 +53,7 @@ class mail_thread(osv.osv): ''' _name = 'mail.thread' _description = 'Email Thread' + _inherit = ['mail.needaction'] def _get_message_ids(self, cr, uid, ids, name, arg, context=None): res = {}