Files
odoo_source/addons/project/controllers
Jordi Ballester 06e264e9ca [FIX] project: portal access error
- Install project
- Ceate an internal user without any access rights
- Go to `/my`

A 500 error is raised because of an AccessError.

When the user has no access rights to any of the mentioned applications,
the `search` call returns an AccessError.

We prevent the access error and return 0 as a fallback.

closes odoo/odoo#89648

X-original-commit: 53334071d3073e0404bb981e1309d351f5e3ab43
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2022-04-26 09:58:00 +02:00
..
…