From 0c07c9c827c13eb59577d9cddcf8cac1f580af6f Mon Sep 17 00:00:00 2001 From: Tejas Tank Date: Thu, 22 Nov 2012 12:03:26 +0530 Subject: [PATCH] [IMP] Corrected _needaction_domain_get. bzr revid: tta@openerp.com-20121122063326-gsvahyei0xsnmzyg --- addons/hr_timesheet_sheet/hr_timesheet_sheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py index fb91d51e1ef..15eb6d35438 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py @@ -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)]