b0f0fd2ee3dcc3bbb24a123d4a1b38d17d0ce8c9
There are a lot of places in the codebase where insuficcient access to a company blocks a normal flow and raises AccessError. While this should normally never happen with the protections from company domain check, the new multi company branch/parent relationships suffers the most of this behavior; because a children company sometimes requires an information from their parent's field (e.g. currency_id) The correct behavior to do here is to let the children get the required data just for processing the flow in the compute (behind the scenes). Even though the children should normally have no access to read/write it on screen, the backend process should be able to run smoothly without blocking any flow. Granting a few temporary sudo() is necessary to ensure the flow runs as expected on some places. closes odoo/odoo#151562 Task-id: 3551305 Related: odoo/enterprise#55345 Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com> Signed-off-by: Yosua Nicolaus (yoni) <yoni@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%