From 500af2f73ac63ebd5fbc9df3e340ca574655d33a Mon Sep 17 00:00:00 2001 From: NaNoMelo Date: Wed, 1 Oct 2025 14:37:41 +0200 Subject: [PATCH] add condition for EBOUTIC counter type in subscription creation --- counter/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/counter/models.py b/counter/models.py index 94f80d2c..5b08608b 100644 --- a/counter/models.py +++ b/counter/models.py @@ -881,6 +881,7 @@ class Selling(models.Model): if ( self.product and self.product.id == settings.SITH_PRODUCT_SUBSCRIPTION_ONE_SEMESTER + and self.counter.type == "EBOUTIC" ): sub = Subscription( member=user, @@ -904,6 +905,7 @@ class Selling(models.Model): elif ( self.product and self.product.id == settings.SITH_PRODUCT_SUBSCRIPTION_TWO_SEMESTERS + and self.counter.type == "EBOUTIC" ): sub = Subscription( member=user,