846d66ae9d97e7040e9936367a3078c3ea7640f5
When assigning activities to people we check target user has the rights to access to document. Otherwise they end up with notifications and activities for records they can't see. This code is currently a loop doing browse and access checks one record at a time. We improve it by grouping activities by related record model and target user, allowing to batch some calls. Note that this somehow reverts odoo/odoo@c38a0d6768 and odoo/odoo@a98c15f443 as normally odoo/odoo@16351e4879 should be sufficient to handle MC use cases. Lack of clear unit tests for those corner cases make it difficult to clearly reproduce issue anyway. Task-2883589 (Activity performance and cleaning) Part-of: odoo/odoo#93682
…
…
…
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%