add new field
This commit is contained in:
@@ -94,7 +94,7 @@ class ExpenceListSerializer(serializers.ModelSerializer):
|
|||||||
fields = [
|
fields = [
|
||||||
'id', 'cash_transaction', 'payment_type', 'project_folder', 'project', 'expence_type',
|
'id', 'cash_transaction', 'payment_type', 'project_folder', 'project', 'expence_type',
|
||||||
'counterparty', 'price', 'exchange_rate', 'currency', 'date', 'comment', 'audit', 'file',
|
'counterparty', 'price', 'exchange_rate', 'currency', 'date', 'comment', 'audit', 'file',
|
||||||
'user', 'expence_chats',
|
'user', 'expence_chats', 'created_at'
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_user(self, obj):
|
def get_user(self, obj):
|
||||||
|
|||||||
Reference in New Issue
Block a user