When `link_tools` was introduced at [1], `_onURLInput` did only update the configuration form and did not touch the edited DOM. Even though its name would be misleading for that purpose, it was therefore used without issue as an event handler responding to the configuration form input events and as a private method called in the `start` method of the widget lifecycle. At a later stage, with [2], DOM modifications were introduced in `_onURLInput` (using the misleading `_adaptPreview` method whose refactoring at [3] made it update the configuration form only in the case of the "Link Dialog" but update the actual link DOM for the "Link tools" (website / mass mailing)). This commit fixes that behavior by touching what is strictly necessary in stable to keep the original intend of `_onURLInput` (updating the configuration UI) but at the same time update the DOM following configuration form input events (as intended by [2]). In master, all of this should be reviewed. Here are steps which revealed the problem. Although, meanwhile, [4] and its parents were merged which fixed other parts of this issue but keeping the potentially problematic DOM update on selection as described above. Notice that [4] and its parents may be reviewed further in a future update. - Edit Home page - Drop a "Banner" block - Select the "Contact Us" button - Select "Custom" style in the link tool - Select a fill color - Deselect the button by clicking on the Banner's text - Select the button again => Button is redrawn without its color [1]: https://github.com/odoo/odoo/commit/740168ce8d27da3d6a7156d2d79655a898394923 [2]: https://github.com/odoo/odoo/commit/226c4c4032c26d3d8f622b29fb151fa8e78ba70a [3]: https://github.com/odoo/odoo/commit/4a1d776243b059d423152bd026bb8bc758477224 [4]: https://github.com/odoo/odoo/commit/eb4edac560227b46efdcfe958e3b93e0b88def64 opw-3086198 task-3096806 X-original-commit: da25eadde299b81b78d84678978b7e1f703530cc Part-of: odoo/odoo#108812 Co-authored-by: qsm-odoo <qsm@odoo.com>
Odoo Website Builder
Get an awesome and free website, easily customizable with the Odoo website builder.
Create enterprise grade website with our super easy builder. Use finely designed building blocks and edit everything inline.
Benefit from out-of-the-box business features; e-Commerce, events, blogs, jobs announces, customer references, call-to-actions, etc.
Edit Anything Inline
Create beautiful websites with no technical knowledge. Odoo's unique 'edit inline' approach makes website creation surprisingly easy. No more complex backend; just click anywhere to change any content.
"Want to change the price of a product? or put it in bold? Want to change a blog title?" Just click and change. What you see is what you get. Really.
Awesome. Astonishingly Beautiful.
Odoo's building blocks allow to design modern websites that are not possible with traditional WYSIWYG page editors.
Whether it's for products descriptions, blogs or static pages, you don't need to be a professional designer to create clean contents. Just drag and drop and customize predefined building blocks.
Enterprise-Ready, out-of-the-box
Activate ready-to-use enterprise features in just a click; e-commerce, call-to-actions, jobs announces, events, customer references, blogs, etc.
Traditional eCommerce and CMS have poorly designed backends as it's not their core focus. With the Odoo integration, you benefit from the best management software to follow-up on your orders, your jobs applicants, your leads, etc.
A Great Mobile Experience
Get a mobile friendly website thanks to our responsive design based on bootstrap. All your pages adapt automatically to the screen size. (mobile phones, tablets, desktop) You don't have to worry about mobile contents, it works by default.
SEO tools at your finger tips
The Promote tool suggests keywords according to Google most searched terms. Search Engine Optimization tools are ready to use, with no configuration required.
Google Analytics tracks your shopping cart events by default. Sitemap and structured content are created automatically for Google indexation.
Multi-Languages Made Easy
Get your website translated in multiple languages with no effort. Odoo proposes and propagates translations automatically across pages, following what you edit on the master page.
Designer-Friendly Templates
Templates are awesome and easy to design. You don't need to develop to create new pages, themes or building blocks. We use a clean HTML structure, a bootstrap CSS.
Customize every page on the fly with the integrated template editor. Distribute your work easily as an Odoo module.
Fluid Grid Layouting
Design perfect pages by drag and dropping building blocks. Move and scale them to fit the layout you are looking for.
Building blocks are based on a responsive, mobile friendly fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases.
Professional Themes
Design a custom theme or reuse pre-defined themes to customize the look and feel of your website.
Test new color scheme easily; you can change your theme at any time in just a click.
Integrated With Odoo Apps
e-Commerce
Promote products, sell online, optimize visitors' shopping experience.
Blogs
Write news, attract new visitors, build customer loyalty.
Online Events
Schedule, organize, promote or sell events online; conferences, trainings, webinars, etc.