Skip to content
Snippets Groups Projects
Commit 6c776d54 authored by JoshuaJan's avatar JoshuaJan
Browse files

Update holidays_summary_report.py

parent 9da1214d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment