diff --git a/hr_attendance_report_theoretical_time/reports/hr_attendance_theoretical_time_report.py b/hr_attendance_report_theoretical_time/reports/hr_attendance_theoretical_time_report.py
index 34b3a1b3..19f9f110 100644
--- a/hr_attendance_report_theoretical_time/reports/hr_attendance_theoretical_time_report.py
+++ b/hr_attendance_report_theoretical_time/reports/hr_attendance_theoretical_time_report.py
@@ -20,6 +20,7 @@ class HrAttendanceTheoreticalTimeReport(models.Model):
employee_id = fields.Many2one(
comodel_name="hr.employee", string="Employee", readonly=True
)
+ company_id = fields.Many2one(related="employee_id.company_id")
department_id = fields.Many2one(
comodel_name="hr.department",
string="Department",
diff --git a/hr_attendance_report_theoretical_time/reports/hr_attendance_theoretical_time_report_views.xml b/hr_attendance_report_theoretical_time/reports/hr_attendance_theoretical_time_report_views.xml
index 4c28e67f..a7bb48a4 100644
--- a/hr_attendance_report_theoretical_time/reports/hr_attendance_theoretical_time_report_views.xml
+++ b/hr_attendance_report_theoretical_time/reports/hr_attendance_theoretical_time_report_views.xml
@@ -33,6 +33,12 @@
string="My Attendances"
domain="[('employee_id.user_id.id', '=', uid)]"
/>
+
+
diff --git a/hr_attendance_report_theoretical_time/security/hr_attendance_report_theoretical_time_security.xml b/hr_attendance_report_theoretical_time/security/hr_attendance_report_theoretical_time_security.xml
index 51e2a768..24afb7e0 100644
--- a/hr_attendance_report_theoretical_time/security/hr_attendance_report_theoretical_time_security.xml
+++ b/hr_attendance_report_theoretical_time/security/hr_attendance_report_theoretical_time_security.xml
@@ -2,6 +2,11 @@
+
+ Theoretical vs worked hours multi-company
+
+ [('company_id', 'in', company_ids)]
+
Theoretical vs worked hours: Own attendances