From 3ff171278daa56d096ddea60b65913e5f6387a35 Mon Sep 17 00:00:00 2001 From: Sam Dudley Date: Thu, 13 Jun 2024 13:01:21 +0100 Subject: [PATCH] Allow admins to edit budget type on programme codes --- chartofaccountDIT/admin/archived_admin.py | 1 - chartofaccountDIT/admin/current_admin.py | 1 - 2 files changed, 2 deletions(-) diff --git a/chartofaccountDIT/admin/archived_admin.py b/chartofaccountDIT/admin/archived_admin.py index 6f99e5c30..af5e44003 100644 --- a/chartofaccountDIT/admin/archived_admin.py +++ b/chartofaccountDIT/admin/archived_admin.py @@ -235,7 +235,6 @@ def get_readonly_fields(self, request, obj=None): return [ "financial_year", "programme_code", - "budget_type", "created", "archived", "updated", diff --git a/chartofaccountDIT/admin/current_admin.py b/chartofaccountDIT/admin/current_admin.py index 014b892e9..12cb30fe9 100644 --- a/chartofaccountDIT/admin/current_admin.py +++ b/chartofaccountDIT/admin/current_admin.py @@ -295,7 +295,6 @@ def get_readonly_fields(self, request, obj=None): if obj: return [ "programme_code", - "budget_type", "created", "updated", ] # don't allow to edit the code