Saturday, August 29, 2026
1 change · master
Resolved issues and error corrections
Employee forms now only allow eligible users with the required employee access rights to be selected as time off or attendance managers. This prevents low-access users from being assigned manager responsibilities they should not have.
Original PR description
Before this commit, even light users with no access rights could be selected as time off or attendance managers on employee forms. By design, a light user shouldn't be selectable, and even regular users should require a specific access right. We restricted the domain of the leave manager field so that only users who possess the "User" or "Administrator" role and the "Employees" access right (or higher) can be selected. We did the same change for the attendance manager field. Task-6498276 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr