Daily updates from Odoo
Wednesday, April 1, 2020
3 changes
Enhancements to existing features
The Helpdesk digest email tip has been refreshed to make the message clearer and more useful for users. This is a small content improvement that helps teams better understand or act on Helpdesk insights in digest emails.
Original PR description
Revamped the tip in Helpdesk's `digest_data.xml` for digest emails.a
Resolved issues and error corrections
The subscription-related test code was updated to stop relying on a testing library that is no longer included. This keeps automated checks running reliably and helps avoid build failures after environment updates.
Original PR description
After odoo/enterprise#8141 and odoo/odoo#44601 mock was removed from requirement. Unfortunately, runbot failed to detect this error since mock was still in the master requirements, and thus in the docker image. After update of the docker image with the new master requirements, it started to fail.
Code cleanup and technical improvements
This cleanup removes outdated helper code that was no longer needed for compatibility or optional dependencies. It reduces maintenance overhead and makes the affected areas easier for developers to work with, without changing business functionality.
Original PR description
Before this commit, a lot of leftover import shims existed in the codebase either for py2-py3 compatibility or for soft dependencies that are now hard dependencies and in one particular case a third-party module dependency was merged into the CPython codebase (making the dependency useless). With this commit, these shims are dropped, making the code cleaner, easier to read and with one less dependency.