diff --git a/odex25_hr/attendances/report/employee_attendances_report_template.xml b/odex25_hr/attendances/report/employee_attendances_report_template.xml
index f9ee97ff9..79995e2f9 100644
--- a/odex25_hr/attendances/report/employee_attendances_report_template.xml
+++ b/odex25_hr/attendances/report/employee_attendances_report_template.xml
@@ -472,9 +472,9 @@
font-family: ae_AlMohanad;
}
-
-
-
+
+
+
@@ -491,32 +491,44 @@
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
-
+
employee.attendance.report
Attendance Report
qweb-pdf
- attendances.general_attendances_report_temp
+ attendances.general_attendances_report_temp_land
-
+
employee.attendance.report
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 21a43f4ab..3aa798ba3 100644
--- a/odex25_hr/attendances/wizard/attendances_report_wiz.py
+++ b/odex25_hr/attendances/wizard/attendances_report_wiz.py
@@ -62,12 +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_report").report_action(self, data=self._payload())
+ 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_report").report_action(self, data=self._payload())
+ return self.env.ref("attendances.action_general_attendance_reportt").report_action(self, data=self._payload())