Tuesday, April 6, 2021
4 changes · master
Resolved issues and error corrections
This fix changes how Ctrl+A works inside the web editor so it selects the current editable content instead of the entire email layout. This prevents users from accidentally deleting the whole mailing and triggering errors that leave the email unusable.
Original PR description
Odoo Task : https://www.odoo.com/web#id=2497783&action=333&active_id=1695&model=project.task&view_type=form&cids=1&menu_id=4720 Bug report from LNA: > In Google Slides, when you press ctrl+a, it selects the content of your container (ex : your shape or title or whatever) which is pretty useful to quickly replace big blobs of text whereas here, it takes the entire email and if I press suppr => traceback https://pastebin.com/KnCzV3Hc https://tinyurl.com/yzen23cc And my mailing is then empty and completely broken https://tinyurl.com/yhhu9zj6 I can't even drop so it's just over since I cannot click on "cancel" https://tinyurl.com/yef5c55s -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change strengthens inventory controls so the same serial number cannot be reused in multiple real stock locations. It also adds a guided correction step during inventory adjustments to help users resolve conflicting serial numbers and improves serial number handling for multi-company operations.
Original PR description
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
This fix prevents the website editor from showing an error when the text selection is unexpectedly unavailable. It improves editing stability for users while a more complete cleanup fix is planned separately.
Original PR description
Note : This should be fix properly by calling destroy on the editor. So this is more of a quick and dirty fix, in before the detroy fix.(see [this task](https://www.odoo.com/web#id=2468804&action=333&active_id=1695&model=project.task&view_type=form&cids=1&menu_id=4720) for the destroy fix ) Odoo task : https://www.odoo.com/web#id=2497783&action=333&active_id=1695&model=project.task&view_type=form&cids=1&menu_id=4720 Bug report from LNA : > Stack of tracebacks Secret traceback level? https://youtu.be/EZ9-M6aAdlU https://pastebin.com/PSvQB5WS To replicate: https://youtu.be/Om4mh5I9k5g -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The website editor now shows a default icon for the media alignment toolbar button when editing content. This prevents a missing-icon visual glitch and makes the editor controls clearer for users.
Original PR description
Odoo task : https://www.odoo.com/web#id=2497783&action=333&active_id=1695&model=project.task&view_type=form&cids=1&menu_id=4720 bug report from LNA: > Missing icon? https://tinyurl.com/yzbmffx3 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr