Thursday, December 18, 2025
1 change · saas-18.2
Resolved issues and error corrections
This update resolves an issue where document previews weren't loading correctly when accessing documents through the 'Activities' icon. The fix ensures the correct custom document view is loaded, restoring full functionality for users accessing documents from this common navigation point. This improves the user experience and prevents disruptions to document workflows.
Original PR description
When navigating to documents from the 'Activities' systray icon, the system would load an action that correctly filtered for "My Activities" but lacked the specific view definitions of the main Documents app. This caused the 'List' view-switcher to load the default list view instead of the custom one, breaking features like document preview that depend on the custom view's JavaScript. This patch fixes the issue by ensuring that the correct, custom view definitions from the main Documents app are loaded. This guarantees that the custom list view and all its features work correctly, regardless of how the user navigates to it. This ensures the correct custom list view is loaded while preserving the "My Activities" filter. Task-5187045 Forward-Port-Of: odoo/enterprise#98979