From 6c776d54068ccfb2282925f7b513ba1f5191fd99 Mon Sep 17 00:00:00 2001 From: JoshuaJan Date: Mon, 7 Jul 2014 18:17:20 +0800 Subject: [PATCH] Update holidays_summary_report.py --- addons/hr_holidays/report/holidays_summary_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_holidays/report/holidays_summary_report.py b/addons/hr_holidays/report/holidays_summary_report.py index cf29e3abd01..2aee179b13d 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