From c9d6ec22f513467e96c799c2b86e39ac51f138d4 Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Thu, 9 Oct 2025 12:41:25 +0300 Subject: [PATCH] Fixes: 1) Remove unnecessary addition of `product.category` to `attribute.categories` in `core/vendors/__init__.py`. Extra: Minor cleanup to improve readability and maintainability. --- core/vendors/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/core/vendors/__init__.py b/core/vendors/__init__.py index 4f7bf541..f2c7cde2 100644 --- a/core/vendors/__init__.py +++ b/core/vendors/__init__.py @@ -397,7 +397,6 @@ class AbstractVendor: except IntegrityError: return - attribute.categories.add(product.category) attribute.save() # type: ignore [no-untyped-call] if not is_created: