Daily updates from Odoo
Sunday, July 19, 2026
2 changes
Code cleanup and technical improvements
This update removes duplicate leave-handling logic from Planning because the same behavior is already provided by a dependency. It reduces maintenance risk without changing expected user behavior.
Original PR description
After commit https://github.com/odoo/enterprise/commit/e0b126cb1ec80743ef06784e230320a1c50041e9, `_handle_flexible_leave_interval` is already implemented in `hr_holidays_gantt` and covers the same case previously handled in `planning_holidays`. https://github.com/odoo/enterprise/blob/7ed917c1de11e29257a726efd4dafe403b9efba1/hr_holidays_gantt/models/resource_calendar.py#L17-L20 Since `planning_holidays` depends on `hr_holidays_gantt`, the duplicate implementation in `planning_holidays` is no longer necessary. **opw-6243778** Forward-Port-Of: odoo/enterprise#124477 Forward-Port-Of: odoo/enterprise#119229
This update modernizes internal user interface references across Enterprise apps so they work with the newer Owl 3 framework. It is mainly a technical cleanup that helps keep accounting, banking, reporting, and related screens stable and maintainable, with no intended functional change for end users.
Original PR description
Enterprise counterpart of the community `master-tref-pr-3-nby` migration.
Convert bridged Owl-2 refs to native Owl 3 signals across the enterprise addons:
- `useRef("x")` -> `const xRef = signal(null)`
- `t-custom-ref="x"` -> `t-ref="this.xRef"` (expression)
- `this.xRef.el` -> `this.xRef()`
Enterprise call sites of the signal-aware community shared hooks (useAutofocus,
useDateTimePicker, useStudioRef, usePosition/useSortable, useVisible,
useActiveElement, …) now pass signals; files consuming inherited/forwarded
community signals read them via `()` instead of `.el`.
Left on the bridge to match community's PR-3 residuals (not migrated in
community either):
- ai/*, knowledge/* embedded components using `useEditableDescendants`
- planning `PlannedDateRangeWithAllocatedHours` xpath into `web.DateTimeField`
- `compiled_view_root` `useRef` in stock_barcode and web_studio form renderer
related-pr: https://github.com/odoo/odoo/pull/274706