Friday, April 23, 2021
4 changes · master
Resolved issues and error corrections
This update fixes issues in the email and web page editor, including preventing design snippets from appearing in plain text emails and improving toolbar placement when editing inside embedded frames. These fixes help users create cleaner emails and avoid confusing editor behavior.
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.
This fix speeds up how Odoo shows where a product is used in manufacturing bills of materials, especially for products with many variants. Users should see much faster product pages and reduced waiting time in manufacturing workflows.
Original PR description
previous implementation works slowly for products with many variants. Performance Test ================ * ~5 K product.template * ~14 K product.variants * ~12 K mrp.bom * ~414 K mrp.bom.line Reading time for the field on a product with ~1000 variants Measuring total request time: * Before 9,5 sec * After: ** without module upgrade 1,5 sec ** with module upgrade 0,3 sec Measuring query execution in psql: * Before 7,2 sec * After: ** without module upgrade 0,7 sec ** with module upgrade 0,001 sec --- opw-2494423 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
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