Friday, September 11, 2026
3 changes · saas-19.2
Enhancements to existing features
This update records a log entry when an automatic cancellation of a Mexican electronic invoicing document fails. This makes it easier for support teams to investigate cancellation issues without changing the user-facing workflow.
Original PR description
In the current state, when an edi document is set to cancelled, the journal entry will attempt to cancel. However, if the cancellation throws a `UserError`, the flow simply continues. This PR adds a logger call to record the failure and help investigate the potential causes. Forward-Port-Of: odoo/enterprise#123511
Logs created during tests that simulate a different system time now show the actual real-world time again, making runbot log views clearer and easier to interpret. This helps teams analyze long-running test execution timelines more accurately while still preserving the simulated timestamp information when needed.
Original PR description
When using faketime the logs are not showing the real time but the faketime one which can be confusing when listed in the runbot interface. Before the usage of the JSONFormatter, the logs were using the PostgreSQL time, which is the real time. This restores the previous behaviour. Having the faked time oustide JsonFromater is also painful: long running faketimed tests end up with most of their logs stamped to nearly the same real date, preventing any analysis of execution time based on the logs. One drawback of this change is the inability to identify at first sight whether a log was faketimed or not, but at this point it is just a tradeoff, and the faked_created field on the record still allows getting this info if needed. Forward-Port-Of: odoo/odoo#287455 Forward-Port-Of: odoo/odoo#287159
Odoo Box actions are now kept for 24 hours instead of 3 hours. This gives support and operations teams more time to investigate issues up to one day after they occur.
Original PR description
We now keep obox actions for 24h instead of 3h to be able to debug until one day after. Forward-Port-Of: odoo/enterprise#130965