diff --git a/addons/hr_attendance/report/timesheet.py b/addons/hr_attendance/report/timesheet.py
index 7adfe98ef13..0463c1ff698 100644
--- a/addons/hr_attendance/report/timesheet.py
+++ b/addons/hr_attendance/report/timesheet.py
@@ -28,6 +28,8 @@ import pooler
from report.interface import report_rml
from report.interface import toxml
+import tools
+
one_week = relativedelta(days=7)
num2day = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
@@ -58,7 +60,7 @@ class report_custom(report_rml):
%s
%%s
- ''' % ustr(toxml(emp['name']))
+ ''' % tools.ustr(toxml(emp['name']))
while monday != last_monday:
#### Work hour calculation
sql = '''
diff --git a/addons/hr_attendance/wizard/hr_attendance_byweek_view.xml b/addons/hr_attendance/wizard/hr_attendance_byweek_view.xml
index b87a3903a80..4ed56ce1800 100644
--- a/addons/hr_attendance/wizard/hr_attendance_byweek_view.xml
+++ b/addons/hr_attendance/wizard/hr_attendance_byweek_view.xml
@@ -1,6 +1,40 @@
+
+ Attendances Report Weekly
+ hr.attendance.week
+ form
+
+
+
+
+
+ Attendances By Week
+ ir.actions.act_window
+ hr.attendance.week
+ form
+ form
+ new
+
+
+
+
+
+ Attendances By Week
+ client_print_multi
+
+ action
+ hr.employee
+
+