Exemple #1
0
 def get_serializer(self, *args, **kwargs):
     """Return a metadata serializer for the SalesOrder model"""
     return MetadataSerializer(models.SalesOrder, *args, **kwargs)
Exemple #2
0
 def get_serializer(self, *args, **kwargs):
     """Return MetadataSerializer instance for a PurchaseOrder"""
     return MetadataSerializer(models.PurchaseOrder, *args, **kwargs)
Exemple #3
0
 def get_serializer(self, *args, **kwargs):
     return MetadataSerializer(models.SalesOrder, *args, **kwargs)
Exemple #4
0
 def get_serializer(self, *args, **kwargs):
     return MetadataSerializer(models.PurchaseOrder, *args, **kwargs)
Exemple #5
0
 def get_serializer(self, *args, **kwargs):
     return MetadataSerializer(StockItem, *args, **kwargs)
Exemple #6
0
 def get_serializer(self, *args, **kwargs):
     return MetadataSerializer(StockLocation, *args, **kwargs)