Sunday, December 7, 2025
1 change · master
Resolved issues and error corrections
This update resolves a problem where users could incorrectly access time off data for employees in different companies. The change ensures that the system only considers employees and their versions associated with the selected companies, improving data accuracy and preventing unintended access.
Original PR description
this commit fixs an issue introduced in production by adding a where clause to select employees and their version belonging to the selected companies only. This prevents from accessing employees from other companies later when summing the attestation days that might not be accessed by the user. task-5386951 Forward-Port-Of: odoo/enterprise#101517 Forward-Port-Of: odoo/enterprise#101309