Friday, August 28, 2026
3 changes · saas-19.2
Enhancements to existing features
Deleting accounts is now more efficient because the system can verify related accounting and point-of-sale records more quickly. This reduces delays during cleanup or account maintenance without changing day-to-day workflows.
Original PR description
Without these indexes, the foreign key check when deleting an account can take a long time. Forward-Port-Of: odoo/odoo#284780
Deleting an account in the German reports module should be faster in larger databases. The change adds supporting indexes so the system can complete required checks more efficiently when an account is removed.
Original PR description
Without these indexes, the foreign key check when deleting an account can take a long time. Forward-Port-Of: odoo/enterprise#129403
The mail test suite now re-checks pending conditions more frequently instead of waiting up to 10 seconds in some cases. This reduces unnecessary test waiting time and helps developers get quicker, more reliable feedback without changing user-facing mail behavior.
Original PR description
Before this commit, a contains that does not match right away runs again only when its MutationObserver fires, and once more at the 10 seconds timeout. The problem is that the observer reports neither a text node updated in place nor an input value or checked property, so a check waiting for one of those sleeps 10 seconds and then passes: "Delete starred message decrements starred counter once" spends 10.2s of the 183s @mail suite waiting for a counter to go from "Starred3" to "Starred2". This commit turns that single timeout into a 500ms tick up to the same deadline, so that such a check costs 500ms. The tick uses the unmocked timer to stay out of the timer graph a test drives with runAllTimers, and only 32 of the suite's 4239 contains calls stay pending long enough to tick once. Forward-Port-Of: odoo/odoo#285129 Forward-Port-Of: odoo/odoo#284944