2b095b8b1ed83d2e8e165d654a5415d16ec48a5e
*: sale_product_configurator Enterprise PR: odoo/enterprise#42551 Steps to reproduce: 1. Install website_sale 2. Create product P - Go to Attributes & Variants tab - Add a line - Create and edit attribute "PILL" - Display Type = Pills - Add some attribute values - Save & Close - Add the attribute values in the list view - Save the product 3. Go to website product page Issue: The pills have a visible radio button inside, requiring users to click on the radio button to change the variant. In V15, there was no radio button, and users could click anywhere on the variant container to change the variant. The change in behaviour happened because the jquery code for handling button clicks has changed. In V15 jquery, clicking a button would trigger a change event, which would then be captured by the owl event selector `change [data-attribute_exclusions]`, and the `onChangeVariant` method was called. In version 16, jQuery no longer triggers a change event when clicking a button. Solution: Hide the radio input visually, then convert the variant text to a label. When clicking on the label, the corresponding radio input is checked. This means that the whole button is not clickable anymore, only the text. opw-3185147 closes odoo/odoo#130615 X-original-commit: dc7af6a4c555740b2c2b13efe57cd971e14dc67f Related: odoo/enterprise#45103 Signed-off-by: Stefan-Calin Crainiciuc (stcc) <stcc@odoo.com> Signed-off-by: Valentin Chevalier <vcr@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%