Attendance report is calculated from the timesheets of all the companies when multi-company is enabled but only one company is allowed. This commit fixes it. Steps to reproduce: - Create two companies - Create an employee with a user allowed in both companies - Create timesheets in both companies for that employee - Allow only one of the two companies - Check the Timesheet Attendance report -> timesheets from both companies are counted This issue arrived from this commit: https://github.com/odoo/odoo/commit/c69fe38b946089919c8939bbd9d1adc2602ddd2c task-2782768 closes odoo/odoo#94232 X-original-commit: 0931807dab07e861e80cec3c802d4855097b0061 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>