projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da1214
)
Update holidays_summary_report.py
author
JoshuaJan
<popkar77@gmail.com>
Mon, 7 Jul 2014 10:17:20 +0000
(18:17 +0800)
committer
JoshuaJan
<popkar77@gmail.com>
Mon, 7 Jul 2014 10:17:20 +0000
(18:17 +0800)
addons/hr_holidays/report/holidays_summary_report.py
patch
|
blob
|
history
diff --git
a/addons/hr_holidays/report/holidays_summary_report.py
b/addons/hr_holidays/report/holidays_summary_report.py
index
cf29e3a
..
2aee179
100644
(file)
--- 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