Saturday, September 17, 2022
1 change · master
Resolved issues and error corrections
This fixes a problem that prevented users from dragging and dropping columns in the website editor after a recent internal asset-loading change. The editor now loads the needed grid template again, restoring expected page layout editing behavior.
Original PR description
A recent refactoring allowing to declare static XML files as part of asset bundles at [1] broke the drag and drop of columns inside the editor. Indeed, since the recent merge of the grid mode at [2], drag and dropping requires a grid to be drawn when dragging a column. the XML template needed for that grid to be drawn was not loaded at all anymore (it was previously added in assets_qweb via a wildcard path but it was not adapted). [1]: https://github.com/odoo/odoo/commit/f05adbc8b59c67cbec4847687a1ee07e620c2a7a [2]: https://github.com/odoo/odoo/commit/cc406afcea7bf5846233a9f97a4a8ac5f618f3ec