Friday, June 12, 2026
6 changes · master
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 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 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.