Skip to content

Commit

Permalink
Merge pull request #3293 from unicef/29669-t2f-direct-status-modifica…
Browse files Browse the repository at this point in the history
…tion-is-not-allowed

[ch29669] t2f: T2FActionPointAdmin status is readonly so that direct modification is not allowed
  • Loading branch information
robertavram authored May 17, 2022
2 parents d029a25 + 8c35fcc commit ecc7211
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/etools/applications/t2f/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,4 @@ class TravelAttachmentAdmin(AdminListMixin, admin.ModelAdmin):
class T2FActionPointAdmin(ActionPointAdmin):
form = T2FActionPointAdminForm
list_display = ('travel_activity', ) + ActionPointAdmin.list_display
readonly_fields = ('status',)

0 comments on commit ecc7211

Please sign in to comment.