-
- Downloads
[FIX] hr_timesheet_attendance: fix the timesheet attendance report
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: 0931807d Signed-off-by:Laurent Stukkens (ltu) <ltu@odoo.com>
Please register or sign in to comment