Wednesday, December 25, 2024
1 change
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