a3e504eff521844d36dd931a3ed22f8d86b95153
Have a user U that is Project User, Timesheets User, Employeed Officer. Give him access to a private task T (by adding U as a follower of T) on private project P. Because of Employeed Officer rights, view_task_form2_inherited is rendered. This shows field is_project_map_empty, which computation depends on project_id. If U does not have access to P, then this triggers an access error, so the Task cannot be displayed. It is in general a legitimate configuration to allow U to interact with T without being given full access to P, since it works in all cases but the rights described above. Since the computation of is_project_map_empty is the only blocking point, we put it in sudo. opw 2031124 closes odoo/odoo#34676 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%