a75cf43c9fcb1e21791311b651241b46a0e6b589
Before this commit: - A portal user cannot access the project if he's not a follower but a public user can do that and it doesn't make sense for portal users to have less access than public users. - Technically the problem was that we call _check_project_sharing_access with the portal user instead of sudo, so when trying to access self.collaborator_ids, an exception is raised saying that the portal user cannot access to project fields. After this commit: - Portal users can access the project in read-only when they are not followers. - Technically, we preferred searching over just adding self.sudo() to get the result directly in one query for a better performance. task-3205644 closes odoo/odoo#117549 X-original-commit: f51685213c2c10a54e4d31f42d20a4bc7f4b17cc Signed-off-by: Xavier Bol (xbo) <xbo@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, ...
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.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%