fix - set pre sale/free sale in property & add to quota model
This commit is contained in:
@@ -94,7 +94,7 @@ class QuotaDistributionViewSet(viewsets.ModelViewSet, DynamicSearchMixin, POSDev
|
||||
Q(assigned_organization=organization),
|
||||
Q(quota__is_closed=False),
|
||||
(
|
||||
Q(pre_sale=True) | Q(free_sale=True) | Q(warehouse_entry__gt=0)
|
||||
Q(quota__pre_sale=True) | Q(quota__free_sale=True) | Q(warehouse_entry__gt=0)
|
||||
)
|
||||
).order_by('-create_date')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user