Thursday, October 5, 2023
2 changes · master
Resolved issues and error corrections
This fixes an issue that could prevent uploading multiple files through web requests, including website forms. The change restores expected upload behavior and adds support for a broader request format, reducing errors for users submitting files.
Original PR description
Since [1] an error was thrown when giving multiple files to http.post. This commit reverts changes in the function but the function now also allows to give a FormData instead of pojo. [1]: https://github.com/odoo/odoo/pull/136271
The website editor now makes drop areas more transparent so page content remains easier to read while editing. It also keeps read-only selection outlines visible, preventing layout confusion when selecting areas such as headers or footers.
Original PR description
=== ISSUE 1 === Since the introduction of the new dropzone design, the dropzones weren't transparent enough and the inline content behind them wasn't readable. This PR adapts the layout of dropzones to make the content behind them more readable. === ISSUE 2 === Prior to this PR, read-only handles were hidden, which created a layout issue (eg. the header was no longer highlighted when we clicked on it). This PR adapts read-only handles to make them visible by using a border around the selected element. task-3537616 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr