Monday, January 24, 2022
2 changes · master
Enhancements to existing features
The database manager now has automated test coverage for key screens and database operations, reducing the risk of future breakages in this sensitive administration area. Updating the master password is also safer because it no longer rewrites unrelated configuration settings unexpectedly.
Original PR description
Implements test coverage for the database manager screens, which are "meta" tools that were not previously covered by the standard test suite. They require control of the super-admin password, and perform database management operations that are normally under control of the CI system. Also modifies the way the config is saved after setting the master password in order to avoid to add config parameters unexpectedly.
This update simplifies the internal setup for media link editing in the website editor now that earlier compatibility precautions are no longer needed. It keeps the feature easier to maintain in future versions without changing the expected user experience.
Original PR description
As we added the media link tool in a stable release (15.0) with [1], we had to make sure that there would be no cache issues. We don't have to worry about that for the next version so the code is simplified with this commit. [1] odoo#79295 -- task-2666467 I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr