From edd98cf3a0424591409fbed9d006c1aeb56669b2 Mon Sep 17 00:00:00 2001 From: Mojtaba-z Date: Tue, 2 Sep 2025 17:05:35 +0330 Subject: [PATCH] fix quota incentive plan bug with calculate heavy & light value --- apps/product/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/product/models.py b/apps/product/models.py index 3d68997..b571aa3 100644 --- a/apps/product/models.py +++ b/apps/product/models.py @@ -480,8 +480,6 @@ class QuotaIncentiveAssignment(BaseModel): return f"Quota ({self.quota.id}) for {self.incentive_plan.name}" def save(self, *args, **kwargs): - self.calculate_heavy_value() - self.calculate_heavy_value() return super(QuotaIncentiveAssignment, self).save(*args, **kwargs)