Daily updates from Odoo
Monday, October 6, 2025
12 changes · master
Enhancements to existing features
AI-powered URL fetching now checks each website's robots.txt rules before accessing pages, using the Odoobot identity. This helps Odoo interact more politely with external websites, avoid disallowed content, and provide clearer feedback when access is blocked.
Original PR description
### Purpose Add `robots.txt` compliance to the `_fetch_url` helper. Before fetching any URL, we now check the site's `robots.txt` and ensure that our user agent (`Odoobot/1.0`) is allowed to access the requested path. ### Changes - Added `robots.txt` validation using `urllib.robotparser` - Respect disallow rules for the `Odoobot/1.0` user agent ### Why This ensures that our crawler behaves politely, avoids fetching disallowed resources, and provides more transparent failure reporting. --- **Task-ID:** 4779962
The bank matching edit line wizard now shows only the line name, preventing long references from disrupting the layout. References remain available in the kanban view, so users keep access to the information without cluttering the edit screen.
Original PR description
Problem: - The reference field was displayed together with the bill name, causing misalignment when the reference is quite long in the edit line wizard. Solution: - Updated the edit line wizard to display only the line's name. - The reference remains visible in the kanban view, it is only removed in the edit line wizard. task-5113489 Forward-Port-Of: odoo/enterprise#95575
The website editor’s +New screen now shows the correct pictograms for content options instead of generic icons. This makes the interface more consistent with the newer Odoo visual style and easier for users to scan.
Original PR description
This PR adds missing icons to the +new screen interface. Requires : https://github.com/odoo/odoo/pull/136274 task-2941442 ### Introducing pictograms to the UI : Since we now have pictograms to represent the different purposes of a module across the backend, we replace the `fa-icons` with these pictograms. Most of these pictograms have already been added, but some were missing.
The IoT device screens no longer show the unused “last sent value” widget or a hidden IP field. The connection type is repositioned to make device forms more balanced and easier to read, especially for receipt printers.
Original PR description
This PR removes the "last sent value" widget from the iot device views + also removes the always invisible "iot ip" field + also moves the connection type to the 1st column of the view to avoid 2nd column being bigger than the 1st for devices like receipt printers. Odoo PR: https://github.com/odoo/odoo/pull/229918 Forward-Port-Of: odoo/enterprise#96276
This update aligns several automated tests with a newer testing behavior that preserves data more safely during expected error checks. It helps keep validation runs stable and reduces false failures without changing everyday user workflows.
Original PR description
See community change, now assertRaisesRegex uses savepoint by default. https://github.com/odoo/odoo/pull/229046
The field service project setup screen has been simplified by removing an unnecessary timesheet product field and its label. This reduces visual clutter and makes the interface clearer for users configuring field service sales workflows.
Original PR description
Remove the `timesheet_product_id` field from the view and hide its label to streamline the interface and improve clarity for users. task-4581748
Lithuanian payroll benefits are now managed as configurable payroll properties instead of fixed rule amounts. This gives payroll teams more flexibility to model employee benefits and helps ensure salary rules apply the right values in more complex payroll scenarios.
VoIP call handling has been improved so that each active call keeps its own state instead of sharing one global state. This reduces the risk of call mix-ups or timing issues when users perform attended transfers involving more than one simultaneous call.
Original PR description
The original VoIP code was written under the assumption that there would only ever be one session at a time. Consequently, much of the session state was stored in a global object called the UserAgent. However, Odoo 19 implemented an attended transfer in VoIP, creating situations in which two sessions occur simultaneously. For this reason, the asynchronous code should no longer update session properties stored on the global UserAgent, as the session may have changed in the meantime, which could lead to race conditions. This commit moves some logic from the UserAgent to the Session, and ensures all callbacks are properly mapped to the relevant session. Forward-Port-Of: odoo/enterprise#95417
The OdooFin bank connection flow has been cleaned up to make it easier to maintain. It also now refreshes currency information when connecting an existing account, helping prevent missing currency labels on account amounts.
Original PR description
The aim of this commit is applying a technical cleaning of OdooFin connector client action. This action exists since the beginning of Odoo Fin and in an effort of cleaning the enterprise module, this commit tries to clean the javascript code. This commit also adds a call to the reloadCurrencies function in the connect_existing_account case to make sure that we have potential newly activated currency in the session. Without that change, connecting to an existing account with a deactivated currency will lead to amounts without their currency. task-5107780
Belgian payroll now includes dedicated records for joint committees and their categories, making employee payroll setup more structured and aligned with local labor classifications. This helps businesses manage Belgian HR payroll information more accurately and consistently across employee records.
Website pages can now be served from a high-level cache when it is safe to do so, reducing page rendering time and database load. The change includes safeguards to avoid caching pages that may contain dynamic or sensitive content, such as session-related sales data.
Original PR description
This commit introduces a high-level cache on the `website.page` model, similar to the one that existed before the `t-cache` directive was implemented in `ir.qweb`. This cache is designed to…
This commit introduces a high-level cache on the `website.page` model, similar to the one that existed before the `t-cache` directive was implemented in `ir.qweb`. This cache is designed to significantly improve performance by storing the HTML response of published pages, thereby reducing rendering time and database queries. The management and logic for this cache are placed directly on the `website.page` model, as it is the source of the HTML response for these records. This approach makes it easy to control caching behavior through a few new, overridable methods: - `_allow_to_use_cache`: Determines whether a page is allowed to be served from the cache based on the current request, URL, or session. For example, a page with a `sale.order` in the session would not use the cache. - `_allow_cache_insertion`: Checks if the generated HTML content is eligible for caching. This is useful for preventing sensitive or dynamic content from being stored. For instance, a page with a reference to a `sale.order` would not be inserted into the cache. - `_post_process_response_from_cache`: A hook called after a response is retrieved from the cache. This method allows for post-processing, such as incrementing counters or modifying HTTP headers, without regenerating the entire page. see https://github.com/odoo/odoo/pull/224487 see https://github.com/odoo/odoo/pull/88276 Forward-Port-Of: odoo/enterprise#94487
Changing a folder so it is not discoverable no longer automatically makes all documents inside require a direct link. This keeps folder-level visibility choices from unexpectedly restricting access to individual files, reducing confusion for users managing shared documents.
Original PR description
Changing the discoverability to not propagate to its children. Previously setting a folder to Discoverable to 'No' would result in all the files also requiring a link to access them, which is unwanted behaviour. Task-4996667 Forward-Port-Of: odoo/enterprise#93697