Daily updates from Odoo
Sunday, August 31, 2025
7 changes · master
Enhancements to existing features
This change removes an older page rendering cache setup that no longer provides meaningful performance benefits and had become costly to maintain. It simplifies related appointment, room booking, and subscription pages, making future improvements easier while keeping performance expectations stable.
Original PR description
The project was implemented several years ago based on a number of observations and points of attention. For example, the cache keys had to be very short and the number of t-nocache occurrences limited. The page wasn't updated instantly, so it required a button to invalidate the cache. The maintenance cost and code readability were strong counterarguments to using the t-cache. As time went by, the cache keys grew in size and the number of nocache occurrences increased. It turns out that there is no significant performance impact from using this cache. Performance gains could be achieved with specific caches at the data model level. see community
The update adds coverage for using Twilio as an SMS provider in marketing automation and makes SMS activity execution more predictable. This helps reduce flaky behavior during testing and debugging, improving confidence in automated SMS campaign workflows.
Original PR description
Add tests for twilio integration as an SMS provider. See community PR for more details. Task-4658352 Forward-Port-Of: odoo/enterprise#93495
Resolved issues and error corrections
Users can no longer delete templates from the annex picker, preventing broken child template links that previously caused errors. This keeps template browsing reliable when working with article index blocks.
Original PR description
The annexe picker can display a hierarchy of articles. When a user deletes a template, both the template and its children are removed from the database. However, while the template is removed from the gallery, its children remain visible and clickable in the interface. Clicking on these child templates causes the system to raise an exception, indicating that the record does not exist. Steps to reproduce the error: 1. Open an article created from a template. 2. Use the /index command. 3. In the index block, click on "Load a Template." 4. Delete a parent template. 5. Attempt to open a child template. -> An error occurs stating that the record does not exist. To prevent this issue and maintain code simplicity, this commit disables the deletion of templates in the annexe picker. Task-4989809
The eSignature signing dialog now consistently opens with the automatic signature option selected, whether or not the user already has a saved signature. This avoids confusion and provides a more predictable signing experience.
Original PR description
Ensure the signature dialog consistently defaults to the "auto" option, regardless of whether a user has a pre-set signature or not. task-5012307 Forward-Port-Of: odoo/enterprise#93427 Forward-Port-Of: odoo/enterprise#92276
The US tax report is now connected to its related tax return type. This allows the system to set tax lock dates automatically, reducing manual work and helping keep filing workflows consistent.
Original PR description
During this pr odoo/enterprise#87346 the US tax report was added. We can link this report with the return_type so that the lock date can be set automatically. Forward-Port-Of: odoo/enterprise#93391
This fix removes country restrictions from the Chinese reports and French Intrastat module setup. It ensures related reporting modules can install automatically when new localizations are added, even if no existing company is already in that country.
Original PR description
Specifiying countries in the manifest will only auto-install the module if at least one company is in one of the countries. This is not wanted as, if someone already has a company with it's reports module, and we add a new localization. We want that new localization to auto-install it's reports module. Forward-Port-Of: odoo/enterprise#93412
Code cleanup and technical improvements
This update adjusts internal handling of helpdesk timesheet transactions so user or environment timezones are applied correctly. It helps ensure time-related records are interpreted consistently across different locations without changing the visible workflow.
Original PR description
Need to refactor the code to flush and reset transaction so that the timezones on environments are taken into account.