Friday, April 23, 2021
4 changes · master
Enhancements to existing features
Signatures saved on a mobile device now resize to fit the available signing area when viewed or used on desktop. This prevents signatures from appearing unexpectedly small and creates a more consistent signing experience across devices.
Original PR description
Description of the issue/feature this PR addresses: In the sign app, if a signature is saved in mobile resolution, when the user tries to sign a document in desktop, the size that is shown is the mobile size, which is strange for the user. This PR is an odoo change and it modifies the library method that adds the image to the canvas, resizing the image to the canvas size. task-2479787 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves how accounting bank statement records are ordered so large databases can load related information more quickly. It removes an inefficient ordering choice that could slow down processing, helping accounting workflows feel more responsive at scale.
Original PR description
Description of the issue/feature this PR addresses: `statement_id desc` is use less in for order, and it will generate a big join. This PR increase speed for large database. Make the same things as https://github.com/odoo/odoo/blob/14.0/addons/account/models/account_move.py#L2841 @nim-odoo @oco-odoo @pedrobaeza -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
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