Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix changelog
Ania Warzecha7cf68a28f867
diff --git a/saleor/attribute/utils.py b/saleor/attribute/utils.pyindex 2126eec278..a5ea8d166f 100644--- a/saleor/attribute/utils.py+++ b/saleor/attribute/utils.py@@ -47,9 +47,9 @@ def associate_attribute_values_to_instance(# copy the assigned product to AssignedProductAttributeValue# where it will live after issue #12881 will be implementedif isinstance(instance, Product):- AssignedProductAttributeValue.objects.filter(assignment_id=assignment.pk).update(- product_id=instance.pk- )+ AssignedProductAttributeValue.objects.filter(+ assignment_id=assignment.pk+ ).update(product_id=instance.pk)sort_assigned_attribute_values(instance, assignment, values)