Wednesday, October 22, 2025
4 changes · master
Code cleanup and technical improvements
The SEPA Direct Debit module now reuses an existing calculation when checking online payment status and related payment counts. This reduces duplicate processing behind the scenes, which can improve efficiency without changing user workflows.
Original PR description
The compute methods for the `is_online_payment` and `payment_transaction_count` fields rely on exactly the same read_group. This commit refactors the `_compute_is_online_payment` method to reuse the result of the computation of `_compute_payment_transaction_count` in cache, thus avoiding two `_read_group` calls.
This update replaces older jQuery-based frontend code with modern standard JavaScript across several Odoo areas. It should help keep the platform easier to maintain and prepare these customer-facing pages for future improvements without changing business workflows.
Original PR description
task-3770362
The IoT box update process has been cleaned up by removing outdated logic and unnecessary checks. This makes the update flow easier for support teams to troubleshoot, with minimal direct impact on users.
Original PR description
The update box method had old unsupported code, and redundant checks. It has been simplified to ease debugging.
This update standardizes how true/false values are checked across several Odoo apps. It is an internal code cleanup that should not change user workflows, but helps keep the system easier to maintain and less prone to subtle inconsistencies.
Original PR description
odoo/odoo#220171