Friday, April 23, 2021
2 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.
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