Daily updates from Odoo
Saturday, June 21, 2025
5 changes
3 changes
Resolved issues and error corrections
This fix makes the IoT payment terminal library download process handle system access changes more safely. It prevents avoidable setup errors when installing or updating the required Worldline payment component, improving reliability for connected payment devices.
Original PR description
The call to the script downloading and extracting `libeasyctep.so` was returning a traceback if it failed to remount the system readonly. We moved the rw/ro mounting logic from the sh script to the python call to avoid this. Task: 4852374
Fixes an issue where adding or changing a cover image on a Knowledge article could fail. Users can now use the Add Cover action as expected, restoring a smoother article editing experience.
Original PR description
There was an issue with Knowledge article cover selection where a user would not be able to change the cover. The issue was introduced with https://github.com/odoo/enterprise/commit/d89f6ddbc4e4402592f31b41db0174dbf3154036 refactoring. This commit restores the proper `arg` format for the `update` function. opw-4845517
Bank reconciliation no longer shows blank action buttons when all reconciliation models have been deleted. This prevents users from clicking a broken button and encountering an error during accounting reconciliation.
Original PR description
Reproduce: 1. Install Accounting 2. Accounting > Bank: Click on some unreconciled statement line There are some buttons like "Internal Transfer" representing reconciliation models. 3. Delete all…
Reproduce:
1. Install Accounting
2. Accounting > Bank: Click on some unreconciled statement line There are some buttons like "Internal Transfer" representing reconciliation models.
3. Delete all reconciliation models.
4. Accounting > Bank: Click on some unreconciled statement line There is a button w/o label. Clicking on it gives an error. (In debug mode the button generation gives an error already) There should be no buttons at all
The issue is that the `get_available_reconcile_model_per_statement_line` can return sth like this in case no reconcilation model was found for statement lines with id 18, 19, 20, 21.
```python
{
18: [{'id': None, 'display_name': None}],
19: [{'id': None, 'display_name': None}],
20: [{'id': None, 'display_name': None}],
21: [{'id': None, 'display_name': None}]
}
```
Since the javascript code assumes that `{'id': None, 'display_name': None}` actually represents a reconciliation model, the error occurs.
After this commit `{'id': None, 'display_name': None}` entries should not appear anymore. In the example an empty dictionary would be returned
task: None2 changes
Resolved issues and error corrections
This change stops recording return-status updates on individual checks, which was slowing down return resets. Users should see better performance while the team evaluates a simpler checks interface in the future.
Original PR description
Tracking it caused perf issues when resetting the return, because each check needed to run an SQL query to add the tracking information to its chatter. On a clean database, with just the demo data, it took 3 seconds. We're planning to resimplify the UI a little bit in the future, possibly getting rid of the check chatters. In the meantime, we'll just revert this tracking.
This fixes an error in Website Studio that occurred when users added a form and chose the model selection action. The missing shared function is now registered, so the form setup flow works as expected.
Original PR description
Since [1] when actions were converted to classes, the `selectModel` method is called through the dependencies/shared function mechanism. Unfortunately, the function could not be found because it was not registered as a shared function. This commit adds the function to the list of shared functions. Steps to reproduce: - Install website_studio - Drop a form - Pick the "Mode models" action => There was an error because `selectModel` could not be found. [1]: https://github.com/odoo/enterprise/commit/1f8b599a23330b03bffd898d85fe74a0f0eeda1f task-4367641