5f5a0c58a1ded1a01497058d04f8df7a2781578e
- Create 2 companies A & B - Set the website in A - Set the user in both companies, main company being A - Create a SO template in company B - Click on "Design Template" An AccessError is raised because: - `slug` accesses the `display_name` of the template which is in company B - the `allowed_company_ids` is set to company A in [1] A solution could be to always set: ``` context['allowed_company_ids'] = request.env.user.company_ids.ids ``` But the side-effects could cause other issues. Therefore, we handle the `slug` manually. [1] https://github.com/odoo/odoo/blob/af411b866aa2052c01168342f8f05ae3dabad83e/addons/website/models/ir_http.py#L203 opw-2194103 closes odoo/odoo#47249 X-original-commit: 0bcfffd291aceb74a5260a49d2fa3032f511dba1 Signed-off-by: Nicolas Martinelli (nim) <nim@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%