change party list api

This commit is contained in:
behruz-dev
2025-08-23 10:41:02 +05:00
parent 3211ea195b
commit 9a5508de81
2 changed files with 34 additions and 2 deletions

View File

@@ -11,4 +11,12 @@ class CounterpartySerializer(serializers.ModelSerializer):
model = Counterparty
fields = [
'id', 'name', 'type', 'status', 'description', 'start_date', 'person'
]
class CounterpartyListPartySerializer(serializers.ModelSerializer):
class Meta:
model = Counterparty
fields = [
'id', 'name',
]