Change 1 of 4
Employee directory
In a multi-company database, all users can now see the employees of all companies in the database.
Official Odoo 20 release note
In plain words
The Directory (public employee profiles) is no longer limited to the companies a user can access. A user who only works in one company still sees colleagues from every company, with a Company filter on the left to browse them.
Where to find it
- Create an internal user who is only allowed in My Company (San Francisco).
- Log in as that user and open Employees > Directory.
- In the Company panel on the left, click My US Company: its employees are listed.
For users
Employees > Directory lists everyone in the database, whatever company the user is allowed in. Private HR data (hr.employee) stays restricted to allowed companies.
For developers
The Odoo 19 record rule hr_employee_public_comp_rule on hr.employee.public (company_id in company_ids) is gone; the only access line is a read permission for internal users with no domain. Code that relied on the public model being filtered by company must add its own company domain.
Upgrading from Odoo 19
No data migration. Review custom views or reports built on hr.employee.public if they assumed company filtering.
