Friday, March 20, 2026
2 changes · master
New functionality added to Odoo
Odoo now lets background job triggers be grouped when they are not urgent, reducing unnecessary wake-ups during busy periods. This can improve system efficiency while still avoiding repeated checks when there is no work to do.
Original PR description
Cron triggers are convenient, but that convenience can come at a cost: while very rare `_trigger()` greatly limit wakeups compared to a normal cron, very frequent (but non urgent) `_trigger()` can cause a lot of extra work compared to a more sedate cron executing every few minutes or hours. Timer coalescing can provide the best of both worlds: if a job is not very urgent, and has high variability in terms of job throughput (e.g. a lot of work items are created some times and almost none at others), coalescing triggers to X provides the same efficiency as a cron with a X interval when "loaded", but if there is no work to do it stops executing entirely per trigger semantics whereas the corresponding cron will spuriously wake up every X only to go back to sleep having found no work to do.
This update allows users to create Documents records directly from employee files uploaded through standard form fields. Previously, this feature was blocked for attachments with a specific field setting. This change improves the process of managing employee-related documents within Odoo Enterprise.
Original PR description
TEMP