diff --git a/odex25_hr/attendances/report/employee_attendances_report_template.xml b/odex25_hr/attendances/report/employee_attendances_report_template.xml index 54ccfea74..9d665bf36 100644 --- a/odex25_hr/attendances/report/employee_attendances_report_template.xml +++ b/odex25_hr/attendances/report/employee_attendances_report_template.xml @@ -16,22 +16,21 @@ 90 - - A4 low margin - - A4 - 0 - 0 - Portrait - 5 - 5 - 5 - 5 - - 0 - 80 - + A4 low margin + + A4 + 0 + 0 + Portrait + 5 + 5 + 5 + 5 + + 0 + 80 + - - - - - employee.attendance.report - Attendance Report - qweb-pdf - attendances.general_attendances_report_temp_land - + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + @@ -528,7 +515,7 @@ Attendance Report qweb-pdf attendances.general_attendances_report_temp - + diff --git a/odex25_hr/attendances/wizard/attendances_report_wiz.py b/odex25_hr/attendances/wizard/attendances_report_wiz.py index 3aa798ba3..e8ff2fbd5 100644 --- a/odex25_hr/attendances/wizard/attendances_report_wiz.py +++ b/odex25_hr/attendances/wizard/attendances_report_wiz.py @@ -62,10 +62,10 @@ class AttendancesReport(models.TransientModel): def print_report(self): if not self.employee_ids: raise ValidationError(_("Please select Employees Name")) - if self.print_totals_only == True: - return self.env.ref("attendances.action_totals_only_attendance_reportt").report_action(self, data=self._payload()) - else: - return self.env.ref("attendances.action_general_attendance_reportt").report_action(self, data=self._payload()) + # if self.print_totals_only == True: + # return self.env.ref("attendances.action_totals_only_attendance_reportt").report_action(self, data=self._payload()) + # else: + return self.env.ref("attendances.action_general_attendance_reportt").report_action(self, data=self._payload())