def get_serializer(self, *args, **kwargs): """Return a metadata serializer for the SalesOrder model""" return MetadataSerializer(models.SalesOrder, *args, **kwargs)
def get_serializer(self, *args, **kwargs): """Return MetadataSerializer instance for a PurchaseOrder""" return MetadataSerializer(models.PurchaseOrder, *args, **kwargs)
def get_serializer(self, *args, **kwargs): return MetadataSerializer(models.SalesOrder, *args, **kwargs)
def get_serializer(self, *args, **kwargs): return MetadataSerializer(models.PurchaseOrder, *args, **kwargs)
def get_serializer(self, *args, **kwargs): return MetadataSerializer(StockItem, *args, **kwargs)
def get_serializer(self, *args, **kwargs): return MetadataSerializer(StockLocation, *args, **kwargs)