dc066a54f1c695eb5223f1316dead96ac8b53193
As the 'allow_company_ids' are now depending on the context and impact the access to some data, we need to provide them to some controller (route). Json route auto-pop the context when given (0322f77279) into the environment. In the 'read_follower' route, the `check_access_rules` raises when you want to access a document of another company (even if this one is in your allowed companies), simply because their is no 'allowed_company_ids' key in the context. This context key is automatically added when calling the `rpc` method in JS (as explain in session.js ofa5b6f31cf2). To fix the wrong access error on followers reading, we simly have to give an empty context when calling `_rpc` in the follower widget. Task-1999686 closes odoo/odoo#35705 Signed-off-by: Jérome Maes (jem) <jem@openerp.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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%