Friday, August 28, 2026
4 changes · saas-19.4
Enhancements to existing features
The chat bubble styling logic was moved to a more flexible place in the mail module. This makes it easier and safer for future customizations to adjust chat appearance without changing core templates.
Original PR description
Move the ChatHub bubbles attribute class computation from the template to a JavaScript getter. This allows other modules to extend or override the class list without replacing the template attribute, making customizations safer and easier. task-6412411
Deleting accounting accounts is made more efficient by adding database indexes used during dependency checks. This reduces delays when cleaning up or reorganizing accounts, especially in larger databases with many payments or analytic entries.
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
Mail test checks now retry more regularly instead of waiting up to 10 seconds for certain updates to be detected. This reduces wasted time in the automated test suite while keeping the same overall timeout and does not change customer-facing 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
This change improves performance when deleting accounts used with German reporting. It adds supporting database indexes so background validation can complete faster, reducing delays for users managing account records.
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