51884712cd7ddab49af56d2fb91bfbfa9e6a89f2
Before this commit, the portal user get a Access Error. After this commit, the portal user see the chatter without error. The code works with reaction browsed in sudo, but since we use a ior with a record not in sudo, we loose the sudo flag and so the right for portal user to read it. ```py x = record.sudo() y = record x |= y -> (x, y) in sudo y |= x -> (x, y) not in sudo ``` How to reproduce ? Assign lead to a portal user Post a message with another user like demo on the lead Add reaction with the admin user Open the opportunity on the portal with portal user -> access error opw-3215507 closes odoo/odoo#117313 X-original-commit: 2bde53541b7a0171c7d1b89e0e412d624f5eab37 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Jérémy Kersten <jke@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%