Daily updates from Odoo
Thursday, December 18, 2025
2 changes · master
Code cleanup and technical improvements
This update enhances Odoo's ability to identify file types, improving accuracy and reliability. The changes streamline the process and ensure consistent mimetype detection across various modules, particularly for common file formats. The team focused on improving test coverage and simplifying the underlying logic.
Original PR description
* Merge test_mimetypes from base and test_guess_mimetypes from test_orm into test_mimetypes in test_orm * Improve test coverage of test_mimetypes * Odoo guess mimetype is now identical to magic for almost all supported mimetypes. The only exception is csv which is not worth the work to try to have a precise match, it returns text/plain. * Mimetypes now uses a function for each supported mimetype.
This update streamlines the VoIP system by explicitly defining its configuration settings and moving the user agent information to the core VoIP service. This simplifies the codebase and reduces unnecessary complexity, leading to a more robust and maintainable VoIP experience.