[FIX] Propagated change from needaction mechanism (from base to ir)
bzr revid: tde@openerp.com-20120330134322-ittm7qtsz4loe3ab
This commit is contained in:
parent
6f3bec4d7f
commit
1a83aad25c
|
@ -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)
|
||||
|
|
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in New Issue