diff --git a/addons/hr_holidays/report/holidays_summary_report.py b/addons/hr_holidays/report/holidays_summary_report.py
index cf29e3abd01fc923e3174844912c80c1278a2fdb..2aee179b13d0980c70262bb1465dec58c173ac17 100644
--- a/addons/hr_holidays/report/holidays_summary_report.py
+++ b/addons/hr_holidays/report/holidays_summary_report.py
@@ -223,7 +223,7 @@ class report_custom(report_rml):
         elif data['model']=='ir.ui.menu':
             for id in data['form']['depts']:
                 dept = obj_dept.browse(cr, uid, id, context=context)
-                emp_ids = obj_emp.search(cr, uid, [('department_id', '=', id)], context)
+                emp_ids = obj_emp.search(cr, uid, [('department_id', '=', id)], context=context)
                 if emp_ids==[]:
                     continue
                 dept_done=0