Wednesday, December 25, 2024
2 changes · master
Enhancements to existing features
The preparation display no longer shows a filter bar when the left sidebar is closed. This keeps filter choices less prominent, since they are usually set once per day, and frees up screen space so staff can see more orders at once.
Original PR description
Removal of the topbar displaying filters when the left sidebar is closed. This feature was not in the original specification and does not match expectations. Indeed, it shouldn't be easy for the user to change the filter selection, which is performed once per day and generally remains the same. Space must be preserved to display as many orders as possible. Before:  After: 
Resolved issues and error corrections
This fix prevents an error from appearing when users select a document record in mobile view after reloading the page. It improves reliability for mobile users working with Documents by ensuring record selection behaves normally.
Original PR description
**Steps to reproduce:** Switch to mobile view Reload the page Select any record Traceback occurs **Technical:** After commit https://github.com/odoo/odoo/commit/ef3656e3468ba6dab207c8df65d12fbb75ae4c77, the 'isPageSelected' condition was removed for the ALL button in the "web.list.selection" template. As a result, the first two conditions will be true, and the system will then check for model.root.isRecordCountTrustable. However, at that point, the model is not available. Previously, the false value of isPageSelected would prevent the check for the model from occurring. **After this PR:** The user will not encounter any traceback when selecting a record in mobile view. Task-4402442