diff --git a/app/apps/monthly_overview/views.py b/app/apps/monthly_overview/views.py index cc68231..01f6414 100644 --- a/app/apps/monthly_overview/views.py +++ b/app/apps/monthly_overview/views.py @@ -84,12 +84,10 @@ def transactions_list(request, month: int, year: int): "account__group", "category", "tags", - "tags__id", "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 b186f41..42502c7 100644 --- a/app/apps/transactions/views/transactions.py +++ b/app/apps/transactions/views/transactions.py @@ -336,12 +336,10 @@ def transaction_all_list(request): "account__group", "category", "tags", - "tags__id", "account__exchange_currency", "account__currency", "installment_plan", - "entities__name", - "entities__id", + "entities", ).all() transactions = default_order(transactions, order=order)