[IMP] Corrected _needaction_domain_get.
bzr revid: tta@openerp.com-20121122063326-gsvahyei0xsnmzyg
This commit is contained in:
parent
a8fb9f6cdd
commit
0c07c9c827
|
@ -227,7 +227,7 @@ class hr_timesheet_sheet(osv.osv):
|
|||
# OpenChatter methods and notifications
|
||||
# ------------------------------------------------
|
||||
|
||||
def needaction_domain_get(self, cr, uid, ids, context=None):
|
||||
def _needaction_domain_get(self, cr, uid, ids, context=None):
|
||||
emp_obj = self.pool.get('hr.employee')
|
||||
empids = emp_obj.search(cr, uid, [('parent_id.user_id', '=', uid)], context=context)
|
||||
dom = ['&', ('state', '=', 'confirm'), ('employee_id', 'in', empids)]
|
||||
|
|
Loading…
Reference in New Issue