Skip to content

Commit

Permalink
Allow admins to edit budget type on programme codes (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamDudley authored Jun 13, 2024
1 parent 1fa39b6 commit aa52d34
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion chartofaccountDIT/admin/archived_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ def get_readonly_fields(self, request, obj=None):
return [
"financial_year",
"programme_code",
"budget_type",
"created",
"archived",
"updated",
Expand Down
1 change: 0 additions & 1 deletion chartofaccountDIT/admin/current_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa52d34

Please sign in to comment.