Wednesday, January 22, 2025
1 change · saas-18.1
Enhancements to existing features
The Point of Sale customer list now loads more customers automatically as users scroll, making it easier to browse large customer databases. Customer searches are more reliable, avoiding duplicate entries and preventing an error when pressing Enter after a search.
Original PR description
Fix multiple issues with partner list : - The list was not updated when scrolling down - When searching customers, the partner list could contains duplicate (because before this commit a `Set`…
Fix multiple issues with partner list : - The list was not updated when scrolling down - When searching customers, the partner list could contains duplicate (because before this commit a `Set` structure was used to store objects. This wasn't working as expecting because in JS a Set use references of objects to compare them (now we use a set to store unique IDs). - Traceback occured when following these steps : - Open "Customer" popup - Type "ss" - Press "enter" => Traceback Here is how it works now: - When reaching 80% (scroll) of the partner list, we fetch 100 more partners and add them to the list - When typing in search bar: search inside the fetched partner list - Press enter in search bar: fetch new customer matching the search from database task-id: 4489331 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr