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