diff --git a/addons/hr_attendance/hr_attendance_wizard.xml b/addons/hr_attendance/hr_attendance_wizard.xml index 0c9e256ae45..92c28911b40 100644 --- a/addons/hr_attendance/hr_attendance_wizard.xml +++ b/addons/hr_attendance/hr_attendance_wizard.xml @@ -3,10 +3,10 @@ - + - - + + diff --git a/addons/hr_attendance/report/attendance_errors.py b/addons/hr_attendance/report/attendance_errors.py index 762dd194496..d9dd93a0426 100644 --- a/addons/hr_attendance/report/attendance_errors.py +++ b/addons/hr_attendance/report/attendance_errors.py @@ -73,7 +73,7 @@ class attendance_print(report_sxw.rml_parse): return (self._sign(total),total2 and self._sign(total2)) -report_sxw.report_sxw('report.hr.timesheet.attendance.error', 'hr.employee', 'addons/hr_attendance/report/attendance_errors.rml',parser=attendance_print, header=2) +report_sxw.report_sxw('report.hr.attendance.error', 'hr.employee', 'addons/hr_attendance/report/attendance_errors.rml',parser=attendance_print, header=2) # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_attendance/report/bymonth.py b/addons/hr_attendance/report/bymonth.py index d0715b4b66d..1da6db83cfd 100644 --- a/addons/hr_attendance/report/bymonth.py +++ b/addons/hr_attendance/report/bymonth.py @@ -96,7 +96,7 @@ class report_custom(report_rml): return xml -report_custom('report.hr.timesheet.bymonth', 'hr.employee', '', 'addons/hr_attendance/report/bymonth.xsl') +report_custom('report.hr.attendance.bymonth', 'hr.employee', '', 'addons/hr_attendance/report/bymonth.xsl') # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_attendance/report/timesheet.py b/addons/hr_attendance/report/timesheet.py index feec7743370..a256e27767b 100644 --- a/addons/hr_attendance/report/timesheet.py +++ b/addons/hr_attendance/report/timesheet.py @@ -115,5 +115,5 @@ class report_custom(report_rml): ''' % '\n'.join(user_xml) return self.post_process_xml_data(cr, uid, xml, context) -report_custom('report.hr.timesheet.allweeks', 'hr.employee', '', 'addons/hr_attendance/report/timesheet.xsl') +report_custom('report.hr.attendance.allweeks', 'hr.employee', '', 'addons/hr_attendance/report/timesheet.xsl') # vim:noexpandtab:tw=0 diff --git a/addons/hr_attendance/wizard/print_attendance_error.py b/addons/hr_attendance/wizard/print_attendance_error.py index 6505b771832..fe88406f331 100644 --- a/addons/hr_attendance/wizard/print_attendance_error.py +++ b/addons/hr_attendance/wizard/print_attendance_error.py @@ -46,10 +46,10 @@ class wiz_attendance(wizard.interface): }, 'print': { 'actions': [], - 'result': {'type': 'print', 'report': 'hr.timesheet.attendance.error', 'state':'end'} + 'result': {'type': 'print', 'report': 'hr.attendance.error', 'state':'end'} } } -wiz_attendance('hr.timesheet.attendance.report') +wiz_attendance('hr.attendance.report') # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_attendance/wizard/print_bymonth.py b/addons/hr_attendance/wizard/print_bymonth.py index 4e28055bcdc..8c83b90cde3 100644 --- a/addons/hr_attendance/wizard/print_bymonth.py +++ b/addons/hr_attendance/wizard/print_bymonth.py @@ -54,10 +54,10 @@ class wiz_bymonth(wizard.interface): }, 'print': { 'actions': [], - 'result': {'type': 'print', 'report': 'hr.timesheet.bymonth', 'state': 'end'} + 'result': {'type': 'print', 'report': 'hr.attendance.bymonth', 'state': 'end'} } } -wiz_bymonth('hr.print_month') +wiz_bymonth('hr.attendance.print_month') # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_attendance/wizard/print_byweek.py b/addons/hr_attendance/wizard/print_byweek.py index ed3dd8f07a8..b5956cb7b48 100644 --- a/addons/hr_attendance/wizard/print_byweek.py +++ b/addons/hr_attendance/wizard/print_byweek.py @@ -44,10 +44,10 @@ class wiz_byweek(wizard.interface): }, 'print': { 'actions': [], - 'result': {'type': 'print', 'report': 'hr.timesheet.allweeks', 'state':'end'} + 'result': {'type': 'print', 'report': 'hr.attendance.allweeks', 'state':'end'} } } -wiz_byweek('hr.print_week') +wiz_byweek('hr.attendance.print_week') # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: