Friday, June 4, 2021
2 changes · master
Resolved issues and error corrections
This fixes a frontend error that could occur when using Odoo in debug mode with certain template customizations. It improves reliability for users and developers working with customized web screens, without changing normal business workflows.
Original PR description
Owl 1 has some issues handling comments. So when people were in odoo debug mode, inheriting in extension mode a t template, the comment added from the server would throw a frontend error. For now, we comment it, waiting for better comment handling in owl.
The portal task search now handles searches submitted with the Enter key more reliably. This prevents occasional mismatched results when users search within a selected category, improving consistency in the customer portal experience.
Original PR description
Before this commit, trying to search for elements in a given category in the searchbar of the tasks portal sometimes lead to an issue when using the enter key, if the form was submitted before trigger the search for the data. This commit adds a way to get rid of the form submission to avoid getting this issue. # Steps to reproduce 1. Go to the portal and open the tasks 2. Select "Project" in the searchbar dropdown 3. Search for anything, such as "Office", by using the enter key instead of clicking on the search button 4. See that, at times, the output received does not match what was expected Linked to task-2508883 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr