Thursday, September 18, 2025
4 changes · master
Enhancements to existing features
This change makes Odoo control the database's current time during execution instead of relying directly on PostgreSQL's own clock. This helps reduce unpredictable date-related behavior, improving consistency for automated processes and tests.
Original PR description
Dates are a major source of non-deterministic behavior, and while we can relatively easily manage dates in Python, that is not the case in Postgres: the database lives outside our reach, in a separate process with its own rules and foibles. Or does it? In this story we take the database's reality, crush it underfoot, and substitute it with our own. Although I will readily confess that I don't understand why it seems to work: according to postgres's documentation[1], > the current session's temporary-table schema, pg_temp_nnn, is always > searched if it exists. [...] However, the temporary schema is only > searched for relation (table, view, sequence, etc) and data type > names. **It is never searched for function or operator names.** Emphasis mine. And yet, it moves. But only in Odoo, in a shell it fails. Task 2788989 [1]: https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-SEARCH-PATH
The mail app's HTML message composer now correctly supports channel commands in discussions. This makes chat and collaboration workflows more reliable when users enter command-style messages.
Original PR description
This commit allows the html composer to use channel commands correctly. task-5086489 https://github.com/odoo/enterprise/pull/94743 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#227137
Discuss users can now press F on desktop to open the search panel for the current conversation. This makes finding past messages faster and reduces the need to navigate through menus.
Original PR description
This commit adds hotkey `F` in discuss app in desktop to quickly open the search panel of the active conversation. Forward-Port-Of: odoo/odoo#227674
The message composer in Discuss now handles channel commands correctly when using the HTML editor. This improves reliability for users who manage conversations with commands, reducing friction in daily collaboration.
Original PR description
This commit allows the html composer to use channel commands correctly. task-5086489 https://github.com/odoo/odoo/pull/227137 Forward-Port-Of: odoo/enterprise#94743