Friday, April 23, 2021
2 changes · master
Resolved issues and error corrections
Updated web test behavior so the same checks pass reliably in Firefox as well as Chrome. This reduces browser-specific test failures and helps keep future web changes easier to validate across supported browsers.
Original PR description
This fixes 3 tests which currently don't work in Firefox. * One is an overspecified check (which seems entirely unnecessary but...). * One is coding to Chrome's behaviour instead of spec. * The last is half/half between an FF bug and coding to an implementation: the FF behaviour is arguably stupid but apparently not out-of-spec.
CRM searches now keep letters and other typed characters when filtering phone numbers, instead of reducing the search to digits only. This prevents broad or misleading matches, such as searching for "hello123" and seeing unrelated numbers that merely contain "123".
Original PR description
Description of the issue/feature this PR addresses: When the user enters an american phone number containing letters, the filter can sometimes return phone numbers that do not match exactly with the provided input string. Current behavior before PR: The phone filter trim all non digit numbers. Desired behavior after PR is merged: The phone filter will no longer trim all non digit numbers. Task ID : 2424185 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr