Daily updates from Odoo
Wednesday, March 26, 2025
2 changes · master
Code cleanup and technical improvements
This update standardizes how editor settings control images, videos, files, and attachment creation across Documents, Knowledge, and Studio. It makes the configuration easier to understand and maintain, with little direct impact on day-to-day users.
Original PR description
*: documents, knowledge, web_studio Purpose of this PR: This PR refactors the configuration options related to media and attachments by: - Renaming disableImage, disableVideo and disableFile to allowImage, allowMediaDialogVideo, and allowFile respectively. - Adding a new configuration option allowAttachmentCreation, which leads to allowImage and allowFile. - Introduce a new mechanism for setting default config through the defaultConfig resource. community: https://github.com/odoo/odoo/pull/202238 task-4264480
This update streamlines internal tests for spreadsheet pivot side panels by removing unnecessary setup steps. It helps the development team run these checks much faster, improving delivery speed without changing customer-facing behavior.
Original PR description
Before this commit, tests of pivot side panels were using a lot of useless steps to prepare the test: - Mount a webclient with a pivot view - Insert in spreadsheet (with the modal) - Render all the spreadsheet - Open the side panel This commit simplifies the tests by directly opening the side panel without the need of the spreadsheet. The gain in terms of speed is important, more or less 4 times faster for the suite `pivot_side_panel` Task: 4663219