fix - pos sharing on agc bug fixed influently

This commit is contained in:
2025-12-22 09:42:22 +03:30
parent 4096dbbd6e
commit 65a826ab7f
8 changed files with 115 additions and 65 deletions

View File

@@ -229,6 +229,7 @@ class OrganizationQuotaStatsViewSet(viewsets.ModelViewSet, DynamicSearchMixin, P
quotas = self.queryset.filter(
Q(organization=organization),
Q(quota__is_closed=False),
Q(total_amount__gt=0),
(
Q(quota__pre_sale=True) | Q(quota__free_sale=True) | Q(inventory_received__gt=0)
)