Thursday, March 2, 2023
4 changes · master
Resolved issues and error corrections
This update fixes several web editor behaviors so formatting is preserved when content is emptied, cursor navigation works correctly around hidden spacing characters, and pressing Enter after headings creates the expected paragraph. It helps users edit website content more predictably without losing styling or jumping to the wrong place.
Original PR description
- Make sure not to remove inline styles when emptying an element. - The insertHTML test file was named too specifically while we want it to test the recently renamed `insert` command, which doesn't only insert HTML. - If a block ends with a zero-width space, the mechanism that skips these characters when using the arrow keys should not skip all the way to the next block. task-3102841 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Dashboard data is now read correctly instead of treating it like a file size. This prevents errors when demo users open dashboard configuration options, making dashboard access more reliable.
Original PR description
Description of the issue/feature this PR addresses: Earlier, receiving data was size of the file which is not what we want. And we are trying to decode that as they are in binary form. Which can not working properly. Current behavior before PR: Now we get the sheetdata in spreadsheet_data field Desired behavior after PR is merged: Won't receive error when login using demo user and click on dashboard -> configuration -> dashboard -> any of the option -> click again any of option Task - 3162824 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Point of Sale closing process has been corrected so sessions with draft orders do not crash unexpectedly. This helps cashiers and managers close POS sessions more reliably and reduces disruption at end of day.
Original PR description
In odoo/odoo#112219 we removed the usage of useListener for cross-component communication, one such use was to close the pos from the closing popup. The closeSession method was moved from the closing popup to the store but the corresponding error handling method wasnt. It appears that the closeSession method doesn't need to be on the store at all, only the closePos method. This commit moves the closeSession method back to the closing popup, so that it has access to the handleClosingError method again.
This fix ensures spreadsheet dashboard data is read correctly instead of treating the received binary content as a file size. Users should no longer hit an error when opening dashboard configuration options with the demo user.
Original PR description
Description of the issue/feature this PR addresses: Earlier, receiving data was size of the file which is not what we want. And we are trying to decode that as they are in binary form. Which can not working properly. Current behavior before PR: Now we get the sheetdata in spreadsheet_data field Desired behavior after PR is merged: Won't receive error when login using demo user and click on dashboard -> configuration -> dashboard -> any of the option -> click again any of option Task - 3162824