65e3bb5592fc05a4eebe9159a45c741d2766aa34
Versions -------- - 17.0+ Steps ----- 1. Create a new company; 2. switch to it via the selector; 3. create a new product specific to the company; 4. create a sale order; 5. open the catalog via a sale order line. Issue ----- Access error Cause ----- The catalog controller does not receive the user context, therefore fallbacking on the default user context, with the main company of the user. Accessing a product from another company will fail and raise an AccessError. Solution -------- Make sure that catalog requests are done in the company of the order, the information is available and it makes no sense to use another company for those requests anyway. Also adds the missing license in the catalog mixin. opw-3690226 closes odoo/odoo#153915 Signed-off-by: Victor Feyens (vfe) <vfe@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%