Thursday, December 19, 2024
1 change · master
Resolved issues and error corrections
Appointment and Studio pages opened from shortcut buttons now keep the same filtered results after a page reload. This prevents users from seeing unrelated records and makes navigation more predictable.
Original PR description
**Before this commit:** When a user was redirected to a window through a stat button, the window displayed only filtered data using a domain set by a Python function. However, when the user reloaded the page, the window displayed unfiltered data. **After this commit:** - After a reload, the window will display the same filtered data by creating a new XML action window with a specified domain. - For dedicated action windows related to stat buttons, the domain and context have been directly added to the action window. - Redundant and unused functions have been removed from the codebase to improve efficiency. Community: https://github.com/odoo/odoo/pull/189270 Task-4229211