Daily updates from Odoo
Sunday, June 22, 2025
2 changes
New functionality added to Odoo
The ESG app can now generate employee commuting emissions directly from fleet-based commuting reports for a selected date range. This helps businesses turn commuting estimates into recorded emissions while warning users when the chosen period overlaps with already generated data.
Original PR description
Task-4596253
Enhancements to existing features
List, Kanban, and Form views can now reuse securely stored browser data so pages open faster while fresh information is loaded in the background. If newer data is found, the view updates automatically, and caching can be turned off for specific actions when needed.
Original PR description
This commit implements a caching system for the data used in List, Kanban and Form views, with the aim of increasing loading speed. It modifies the PersistentCache system, introduced in [1], to be able to call a callback (`onUpdate`) when the RPC finishes and the data differs from the cached data. This new callback allows the relational model to re-render the view when the latest data arrives. Please note that, for security reasons, all the stored data in the browser is encrypted using the `AES-GCM` algorithm (see [2]). If necessary, caching of the data could be disabled for a specific action, by setting the `cache` field (introduced in this commit) to `False`. [1] : https://github.com/odoo/odoo/commit/f3d955b3235cb256bda79e834df38da0f6a4ac1a [2] : https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt#aes-gcm task-id: 4479845 Co-authored-by: Aaron Bohy <aab@odoo.com>