Daily updates from Odoo
Thursday, February 26, 2026
2 changes · saas-19.2
Code cleanup and technical improvements
This update enhances website builders by automatically suggesting existing website pages and anchors when users select URLs. The change replaces an older system with a new, more efficient component, providing a better user experience for creating website content.
Original PR description
When website is installed, all URL pickers should suggest existing website pages and anchors. Before this commit, the `WebsiteUrlPicker` used `autocompleteWithPages` to suggest internal links. This…
When website is installed, all URL pickers should suggest existing
website pages and anchors.
Before this commit, the `WebsiteUrlPicker` used `autocompleteWithPages`
to suggest internal links.
This commit removes the usage of `autocompleteWithPages` and
replace `WebsiteUrlPicker` with `BuilderUrlPicker` with an Autocomplete
component completely to provide internal link and anchor
suggestions.
Key Changes:
- Introduce `AutoCompleteBuilderUrlPicker` component extending the base
`AutoComplete` component.
- Patch BuilderUrlPicker to:
- Replace its input with AutoCompleteBuilderUrlPicker.
- Provide a `sources` getter delegating suggestions to
loadOptionsSource.
- Handle selection vs input through `isOptionSelected`.
- Extract and reuse loadOptionsSource in website utils.
- Move `loadOptionsSource` to utils.
- Add `title` prop and `isOptionSelected` flag to AutoComplete to
properly differentiate selection vs input.
Enterprise PR: [106706](https://github.com/odoo/enterprise/pull/106706)
task-5260613
Forward-Port-Of: odoo/odoo#250359
Forward-Port-Of: odoo/odoo#226324This update simplifies the way website URLs are displayed in the AI Live Chat feature. The previous method has been replaced with a new component, `BuilderUrlPicker`, to improve the user experience and maintainability of the website. This change ensures consistent and reliable URL presentation.
Original PR description
This commit replaces the use of `WebsiteUrlPicker with `BuilderUrlPicker` community PR: [226324](https://github.com/odoo/odoo/pull/226324) task-5260613 Forward-Port-Of: odoo/enterprise#108497 Forward-Port-Of: odoo/enterprise#106706