Daily updates from Odoo
Friday, June 12, 2026
11 changes
1 change
Code cleanup and technical improvements
This update improves the generation of France's fiscal reports by introducing reusable functions and streamlining existing code. Comprehensive test cases have been added to ensure accurate data extraction and XML report formatting for these critical financial documents.
Original PR description
-Created a utils file for france fiscal reports that has the common functions, and refactored some parts of the code in the report handlers. -Created test cases for adding and removing lines from a report, extracting the data, and exporting the report as xml for the france localization fiscal report. task-6138193
1 change
Code cleanup and technical improvements
This update simplifies the bank reconciliation process within Odoo Enterprise. The underlying code has been reorganized to enhance readability and maintainability, making it easier for developers to understand and update. This change focuses on internal code improvements, ensuring the continued reliability of bank reconciliation functionality.
Original PR description
Reworked the try_auto_reconcile function to make it more readable by creating helper functions and splitting the function into multiple smaller ones. task-6171727 Forward-Port-Of: odoo/enterprise#116958
8 changes
Code cleanup and technical improvements
This update resolves an issue related to outdated code in the account reports and web map modules. By replacing deprecated useLayoutEffect calls with more modern methods, the system now performs more efficiently and is compatible with newer Odoo versions.
Original PR description
Batching a couple of useLayoutEffects that can be replaced with onMounted / onPatched. WHY: useLayoutEffect is deprecated since OWL3
This update refactors how Odoo uses reactive calls within several core modules, optimizing performance and enhancing stability. Specifically, it replaces single-argument reactive calls with proxy calls, a change introduced with Owl3. This impacts modules like Accounting, HR, and Documents, leading to smoother operation and reduced potential issues.
Original PR description
With Owl3, uses of `reactive` with only one arg can be changed to `proxy` calls. This commit changes all those uses in addons in the range [a..!w]. *: account_accountant,account_reports,documents,hr_contract_salary,hr_payroll,iap_extract,knowledge,planning,social,
This update refactors the Feedback Screen code in Odoo's l10n_br_edi_pos, l10n_pe_edi_pos, and pos_blackbox_be modules to align with a recent upgrade. It replaces outdated code that relies on useLayoutEffect with modern useEffect, ensuring compatibility with the latest Odoo version (OWL3) and improving stability.
Original PR description
Replace useLayoutEffect + this.state.loading with useEffect + this.loading() in l10n_br_edi_pos and l10n_pe_edi_pos. Replace this.state.fdmError and this.state.timeout with plain _fdmError and _timeout fields in pos_blackbox_be. WHY: follows the FeedbackScreen proxy -> signal refactor; useLayoutEffect is deprecated in OWL3 Community PR: https://github.com/odoo/odoo/pull/269272
This update refactors how Odoo handles reactive data calls, specifically targeting areas where single-argument reactive calls were used. The change, part of the Owl3 upgrade, improves performance and stability by utilizing a more efficient proxy mechanism. This impacts several core Odoo modules including web_enterprise, web_gantt, and web_studio.
Original PR description
With Owl3, uses of `reactive` with only one arg can be changed to `proxy` calls. This commit changes all those uses in addons in the range [w..]. *: web_enterprise,web_gantt,web_grid,web_studio
This change refactors the core payroll module's data structure, moving away from an older system. As part of a larger migration, this update improves the underlying architecture and prepares the payroll system for future updates and integrations. This change ensures the payroll module remains compatible with newer Odoo versions.
Original PR description
As part of the migration from `owl 2` to `owl 3`, this commit replaces uses of `t-custom-model` with `t-model` or `t-model.proxy`. community: https://github.com/odoo/odoo/pull/269061
This update removes outdated 'onWillRender' hooks within the Web Studio module as part of the Owl 3 migration. This ensures compatibility with the latest version of Odoo and improves the stability and performance of the web design tool. The change is a technical refactoring.
Original PR description
As part of the Owl 3 migration, replace deprecated onWillRender hooks with the appropriate Owl 3 alternatives.
This update resolves an issue related to the outdated useLayoutEffect function in the SMS signer component. Replacing it with useEffect ensures compatibility with the latest OWL3 framework, improving stability and preventing potential errors. This change also includes a fix for the SMS retry timeout.
Original PR description
Replaces useLayoutEffect with useEffect from @odoo/owl WHY: UseLayoutEffect is deprecated in OWL3 Replaces previousId comparison with an initialized flag that skips only the first mount.
This update resolves a technical issue related to the PDF viewer component in Odoo Enterprise. By replacing deprecated code, the change enhances performance and ensures compatibility with the latest OWL3 framework, improving the overall stability of the application. This ensures a smoother user experience for viewing PDF documents.
1 change
Code cleanup and technical improvements
This update simplifies the bank reconciliation process within Odoo Enterprise. The code has been reorganized to enhance readability and maintainability, making it easier for developers to understand and update. This change improves the overall stability and efficiency of the bank reconciliation feature.
Original PR description
Reworked the try_auto_reconcile function to make it more readable by creating helper functions and splitting the function into multiple smaller ones. task-6171727