Daily updates from Odoo
Monday, October 21, 2024
3 changes
Code cleanup and technical improvements
This update renames an internal WhatsApp message preview field so the web interface matches the server-side naming. It helps keep the codebase consistent and easier to maintain, with no expected change for end users.
Original PR description
https://github.com/odoo/odoo/pull/184311
The eSignature module code has been reorganized into smaller, more focused files. This does not change how the feature works for users, but it makes the code easier to maintain and safer to update in the future.
Original PR description
## Purpose This PR refactors the `sign` module by splitting large model files (`sign_request.py`, `sign_template.py`, `sign_send_request.py` and `test_sign_controller.py`) into class-specific files. This improves the maintainability and readability of the codebase. ## Changes - Split large model files into smaller, class-focused files. - Improved modularity by ensuring each class resides in its own dedicated file. This refactor does not introduce any functional changes but significantly improves the structure and organization of the code.
Several business modules were updated to use Odoo's newer internal reporting method before the older one is retired. This keeps features such as subscriptions, payroll, helpdesk, field service, stock barcode, and accounting-related workflows maintainable without changing day-to-day user behavior.
Original PR description
read_group will be deprecated soon, replace read_group usage from the the business code with _read_group. https://github.com/odoo/odoo/pull/184153