Monday, July 21, 2025
4 changes · saas-18.3
Resolved issues and error corrections
Intrastat journal filters are now turned off by default, so credit notes are less likely to be missed in arrivals reporting. This helps customers produce more complete Intrastat goods and services reports without needing to manually adjust filters.
Original PR description
- Before this PR: Customers often miss credit notes in Intrastat arrivals due to filtering on purchase journals only, which results in incomplete reports. - After this PR: Journal filters are now unticked by default in both root and variant Intrastat reports. - Task ID: 4936349 Forward-Port-Of: odoo/enterprise#90415 Forward-Port-Of: odoo/enterprise#90131
A failing automated test in the enterprise discussion area has been corrected by loading the expected HR-related test data. This helps keep the validation pipeline stable and reduces the risk of delays caused by false test failures.
Original PR description
Before this commit, recently added unit test "can handle command and disable mentions in AI composer" crashed on runbot with the following error message: ``` cannot find a definition for model…
Before this commit, recently added unit test "can handle command and disable mentions in AI composer" crashed on runbot with the following error message: ``` cannot find a definition for model "hr.employee": could not get model from server environment (did you forget to use `defineModels()?`) ``` Somehow the mock models in this test suite is aware of model "hr.employee". While this model exists with this module installed, the hoot suite in `test_discuss_full_enterprise` only imports mail models which hasn't `hr.employee`, thus we'd expect the suite to not be aware of this model and shouldn't attempt to load it. While we don't know why the hr.employee model definition is obtained on runbot on this test suite, functionally it makes sense to have this model installed. At the same time, we'd expect that the JS model definition are optional and just there in case we want to "cheat" model definition from the one fetched. This commit attempts to fix the issue by defining hr models rather than mail models in this test suite. Hr models have mail models in addition to hr models like hr.employee, thus we expect to fix the crash. Fixes runbot-error-230073
Signed documents now correctly display the option a signer selected in a selection field. This prevents confusion when reviewing completed signature documents and ensures signed records reflect the signer’s choices.
Original PR description
Steps to reproduce: 1. Install the sign module 2. Sign > template menu 3. Create a template with a signature and a selection field. 4. Sign the document and select a value in the selection field. 5. Validate the document 6. Reopen the signed document Issue: - The selected value was not shown after signing. Cause: - The display logic for the selected value was missing. - Logic was removed by this commit https://github.com/odoo/enterprise/commit/0cd6b4d08af0c9be5c74f6aee30d8fe890fc7c1 Solution: - Added code to render the selected value in signed documents. opw-4908385 Forward-Port-Of: odoo/enterprise#89380
The rental schedule's "To Do Today" filter now correctly accounts for each user's local timezone before comparing records. This prevents rental tasks from appearing on the wrong day for users outside UTC, improving day-to-day scheduling accuracy.
Original PR description
__Issue:__ The "To Do Today" filter used the user's local date to build a datetime range but treated it as if it were already in UTC. This caused incorrect filtering in non-UTC timezones __Fix:__ - Convert those datetimes to UTC using `.to_utc()` in the filter domain opw-4886069 Forward-Port-Of: odoo/enterprise#90358 Forward-Port-Of: odoo/enterprise#89718