Monday, April 25, 2016
2 changes
Enhancements to existing features
Keyboard users can now more easily see which navigation item is selected when tabbing through key areas such as the app switcher, Discuss systray icons, and user menu. This improves accessibility and makes everyday navigation clearer for users who rely on the keyboard.
Original PR description
TASK:https://www.odoo.com/web#id=23354&view_type=form&model=project.task&action=333&active_id=248&menu_id=4720 PAD: https://pad.odoo.com/p/r.7fbbae0af3dc557deb37d4c84e537b2a
This update changes how Odoo prepares related records in advance, making data loading more predictable and easier for developers to control. It should improve consistency and performance across areas such as mail, membership, point of sale, events, and automated actions while reducing internal data handling errors.
Original PR description
New programmer model for the prefetching of records: - each recordset is attached to a **prefetch object**: `records._prefetch` - the prefetch object associates model names to record ids to prefetch: `ids = records._prefetch[model_name]` - a call to `model.browse(ids)` returns a recordset with a new prefetch object - the prefetch object is passed and populated by - iteration - access of relational field - `with_env()`, `sudo()`, `with_context()`