diff --git a/app/apps/monthly_overview/views.py b/app/apps/monthly_overview/views.py index 2945a60..01f6414 100644 --- a/app/apps/monthly_overview/views.py +++ b/app/apps/monthly_overview/views.py @@ -87,8 +87,7 @@ def transactions_list(request, month: int, year: int): "account__exchange_currency", "account__currency", "installment_plan", - "entities__name", - "entities__id", + "entities", ) ) diff --git a/app/apps/transactions/views/transactions.py b/app/apps/transactions/views/transactions.py index e195b2f..42502c7 100644 --- a/app/apps/transactions/views/transactions.py +++ b/app/apps/transactions/views/transactions.py @@ -339,8 +339,7 @@ def transaction_all_list(request): "account__exchange_currency", "account__currency", "installment_plan", - "entities__name", - "entities__id", + "entities", ).all() transactions = default_order(transactions, order=order)