Monday, April 25, 2016
5 changes · master
New functionality added to Odoo
Users can now search menus directly from the app switcher, making it faster to find screens such as Companies without browsing through menus. The update also adds a keyboard shortcut reminder and improves keyboard navigation and focus visibility across the web interface.
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
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()`
Resolved issues and error corrections
Product forms now display pricelist rules that apply directly to a specific variant, not only those linked to the overall product template. This helps users see the correct pricing setup for each product variant and reduces confusion when managing variant-specific prices.
Original PR description
With the pricelist, it is possible to define a pricelist just for a variant. But in the product.product.form, only the pricelist items linked to the product template could be displayed. The field item_ids has been created in product.product model to display all the pricelist applied on a product. opw:674700
Code cleanup and technical improvements
The website membership area has been migrated to Odoo's newer internal framework so it stays compatible with the main platform. This should help maintain reliability and future maintainability without introducing major visible changes for users.
Original PR description
Task: https://www.odoo.com/web?#id=12126&view_type=form&model=project.task&menu_id=3942&action=327 pad : https://pad.odoo.com/p/r.UWV9jEAnl7wlKe8u