-
- Downloads
[FIX] sale: default on product change in configurator
When a product is set on a line and we change product with the product
configurator wizard, we will use the attributes values of the previous
product.
But then since the attributes are the ones of wrong product, not
attribute is selected and if eg. we have radio button with one option
and custom value, it will never be selectable (because the radio button
is hidden and unselected).
In this commit, we do not use the current variant values when we change
product in the product configurator wizard.
note: this commit also increases the limit of (custom values) inside the
product configurator wizard, for an arbitrary 10000 limit. Without this
change, each opening of the wizard would only keep 40 customs values and
discard the other ones.
opw-2333091
closes #59016
closes odoo/odoo#59768
X-original-commit: 8f6b38ea63c4e85254e6bed71a44abb447c21332
Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
Showing
- addons/sale_product_configurator/static/src/js/product_configurator_controller.js 4 additions, 2 deletions...igurator/static/src/js/product_configurator_controller.js
- addons/sale_product_configurator/wizard/sale_product_configurator_views.xml 1 addition, 1 deletion...t_configurator/wizard/sale_product_configurator_views.xml
Please register or sign in to comment