[IMP] Corrected _needaction_domain_get.

bzr revid: tta@openerp.com-20121122063326-gsvahyei0xsnmzyg
This commit is contained in:
Tejas Tank 2012-11-22 12:03:26 +05:30
parent a8fb9f6cdd
commit 0c07c9c827
1 changed files with 1 additions and 1 deletions

View File

@ -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)]