From 64d9120ed2b71b2ba618527fd3a099ae3dcece3d Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Fri, 25 Sep 2020 08:27:15 +0000 Subject: [PATCH] [FIX] sale_product_configurator: no 40 attribute limit Set a arbitrary 10000 limit instead of 40 for the configurator product_no_variant_attribute_value_ids (attributes that do not create a variant) and product_template_attribute_value_ids (attributes that create a variant) fields. With a limit of 40, when we edited a variant (eg. on sale order) with more than 40 create_variant=never attributes, the widget ProductConfiguratorFormView that work with this data would only received 40 attributes so there would be an error message: "The combination does not exists." which would prevent edition of the variant. opw-2333091 closes #58493 closes odoo/odoo#58670 X-original-commit: 295884ce154990ecb51d3fc7c39aeeb21dc11f03 Signed-off-by: Nicolas Lempereur (nle) --- .../wizard/sale_product_configurator_views.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/addons/sale_product_configurator/wizard/sale_product_configurator_views.xml b/addons/sale_product_configurator/wizard/sale_product_configurator_views.xml index ef094e76899..8c7cf01636d 100644 --- a/addons/sale_product_configurator/wizard/sale_product_configurator_views.xml +++ b/addons/sale_product_configurator/wizard/sale_product_configurator_views.xml @@ -7,14 +7,18 @@
- + + + - + + +