update excel
This commit is contained in:
@@ -19,6 +19,7 @@ class ProductExcelViewSet(viewsets.ModelViewSet):
|
|||||||
queryset = product_models.QuotaDistribution.objects.all()
|
queryset = product_models.QuotaDistribution.objects.all()
|
||||||
serializer_class = distribution_serializers.QuotaDistributionSerializer
|
serializer_class = distribution_serializers.QuotaDistributionSerializer
|
||||||
|
|
||||||
|
# noqa # سهمیه و توزیع
|
||||||
@action(
|
@action(
|
||||||
methods=['get'],
|
methods=['get'],
|
||||||
detail=False,
|
detail=False,
|
||||||
@@ -165,6 +166,7 @@ class ProductExcelViewSet(viewsets.ModelViewSet):
|
|||||||
return response \
|
return response \
|
||||||
|
|
||||||
|
|
||||||
|
# noqa # طرح های تشویقی
|
||||||
@action(
|
@action(
|
||||||
methods=['get'],
|
methods=['get'],
|
||||||
detail=False,
|
detail=False,
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ class WareHouseExcelViewSet(viewsets.ModelViewSet):
|
|||||||
queryset = warehouse_models.InventoryEntry.objects.all()
|
queryset = warehouse_models.InventoryEntry.objects.all()
|
||||||
serializer_class = warehouse_serializers.InventoryEntrySerializer
|
serializer_class = warehouse_serializers.InventoryEntrySerializer
|
||||||
|
|
||||||
|
# noqa # ورودی به انبار
|
||||||
@action(
|
@action(
|
||||||
methods=['get'],
|
methods=['get'],
|
||||||
detail=False,
|
detail=False,
|
||||||
|
|||||||
Reference in New Issue
Block a user