Daily updates from Odoo
Tuesday, August 26, 2025
6 changes
5 changes
Code cleanup and technical improvements
The Documents app now checks how long deleted files stay in the trash only when a user actually moves a document there. This avoids an unnecessary background request when opening Documents and reuses the result for repeated deletions, improving responsiveness and reducing resource use.
Original PR description
`get_deletion_delay` is called every time the Documents app is open, even though it's only needed when sending a document to the trash. This adds network latency and uses resources for nothing. With this commit, it's fetched only when needed: when the user sends a document to the trash. It's also cached in memory to avoid repeating the same RPC multiple times if the users deletes multiple documents. The value is very unlikely to change.
This update cleans up parts of the online sales checkout customization code, especially for Chilean and Mexican electronic invoicing flows. It helps prepare the website sales experience for future modernization while keeping current customer-facing behavior essentially unchanged.
Original PR description
task-4919046 Community PR: https://github.com/odoo/odoo/pull/216836
This update simplifies how manufacturing planning schedules are handled behind the scenes. It reduces unnecessary internal processing, helping keep planning data interactions cleaner without changing day-to-day user workflows.
Original PR description
Description ----------- Follow-up on odoo/enterprise@00fd82c15d2fd38634361b7c68b24f724684fb92: - Convert the usage of a context key into a param - Extract the internal implementation of `get_impacted_schedule` to return records instead of ids for internal backend usage and avoiding re-browsing.
This update modernizes an internal part of the employee referral app by using Odoo's standard deprecation approach for an overridden method. It helps keep the module easier to maintain and safer to evolve, with no expected change for everyday users.
Original PR description
https://github.com/odoo/odoo/pull/221244
This update simplifies how cohort and recruitment pivot reports process their filtering data now that only one domain is supported. It reduces legacy complexity in the reporting code, making future maintenance safer while keeping the user-facing reporting experience unchanged.
Original PR description
Since https://github.com/odoo/odoo/pull/186454 and https://github.com/odoo/enterprise/pull/73467, the cohort and pivot views no longer have to handle several domains. Here we finish the job and remove the references to domains, originIndex,...
1 change
Code cleanup and technical improvements
This draft update removes or simplifies parts of the automated onboarding tour checks for Helpdesk and Planning. The change appears to be internal test maintenance, with minimal expected impact on day-to-day business users.