Daily updates from Odoo
Wednesday, May 13, 2026
2 changes
Code cleanup and technical improvements
This update simplifies how the Documents module interacts with related records. The previous custom widget is no longer needed due to recent changes allowing direct configuration of default views for Many2One fields. This streamlines the system and reduces potential complexity.
Original PR description
Historically, standard Many2One fields defaulted to opening the form view. To bypass this and open a folder's Kanban or List view, the Documents module relied on a custom documents_folder_many2one widget. A recent refactoring addressed this limitation, allowing the default target view to be configured directly on standard Many2One fields. Changes: - Rename get_formview_action to get_record_default_action: Updated the method name in ir_ui_view.py to accurately reflect that M2O fields frequently open views other than just form views. - Remove documents_folder_many2one: Deleted the now-redundant custom widget and replaced it with the standard Many2One widget across the Documents module and its bridges. - Clean up _get_access_action: Removed the override in Documents to eliminate redundancy, leveraging the newly renamed get_record_default_action instead. Task-6068437
This update replaces partner data with user data within member-related flows across several Odoo Enterprise modules. This change enhances data accuracy and simplifies user management, aligning with best practices for user identification and access control. It impacts modules like Frontdesk, WhatsApp, and AI Livechat.
Original PR description
\* = ai_livechat, frontdesk, whatsapp Enterprise counter-part. task-5946571 https://github.com/odoo/odoo/pull/249517