5fd75da0e944952b2f8c9c4de19d84b3b78f6187
Following the revamp / contextualisation of multi company, the list of allowed companies from the context is now used as part of the ir_rule caching key. Sadly that list is a list, and thus not hashable, meaning _compute_domain was not cached anymore. Sadlier, type errors would be silently ignored (just increasing the error counter of the cache stats). Fix both issues: * Store lists from the context as tuple. Technically could be a frozenset but that might not always be the case so it doesn't feel future-proof, a tuple might lead to slightly less hits but seems safer * Log a proper warning in case of an ormcache TypeError (non-hashable type used as cache key). It should never routinely happen. closes odoo/odoo#34330 Signed-off-by: Xavier Morel (xmo) <xmo@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, 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%