[FIX] Propagated change from needaction mechanism (from base to ir)

bzr revid: tde@openerp.com-20120330134322-ittm7qtsz4loe3ab
This commit is contained in:
Thibault Delavallée 2012-03-30 15:43:22 +02:00
parent 6f3bec4d7f
commit 1a83aad25c
2 changed files with 1 additions and 2 deletions

View File

@ -93,7 +93,7 @@ class hr_holidays(osv.osv):
_name = "hr.holidays"
_description = "Leave"
_order = "type desc, date_from asc"
_inherit = ['mail.thread']
_inherit = ['ir.needaction', 'mail.thread']
def _employee_get(self, cr, uid, context=None):
ids = self.pool.get('hr.employee').search(cr, uid, [('user_id', '=', uid)], context=context)

View File

@ -61,7 +61,6 @@ class mail_thread(osv.osv):
'''
_name = 'mail.thread'
_description = 'Email Thread'
_inherit = ['base.needaction']
def _get_message_ids(self, cr, uid, ids, name, arg, context=None):
res = {}