From 435b7305d7cc1d8b12678bdfdf55b7d6e7aa595c Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Tue, 18 Nov 2025 12:07:36 +0300 Subject: [PATCH] Features: 1) Add `personal_orders_only` to the serialized fields for Product; Extra: 1) Added field to match backend model state; --- engine/core/serializers/detail.py | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/core/serializers/detail.py b/engine/core/serializers/detail.py index 8950f72f..b92d4b98 100644 --- a/engine/core/serializers/detail.py +++ b/engine/core/serializers/detail.py @@ -277,6 +277,7 @@ class ProductDetailSerializer(ModelSerializer): "created", "modified", "discount_price", + "personal_orders_only", ] def get_rating(self, obj: Product) -> float: