Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
DonHaul committed Aug 27, 2024
1 parent 269f4c8 commit 41adf84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backoffice/backoffice/workflows/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ class WorkflowsDecisionsInline(admin.StackedInline):
show_change_link = True
readonly_fields = ["action_value", "_updated_at", "user"]

def has_change_permission(self, request, obj=None):
return False

@admin.display(description="action")
def action_value(self, obj):
return obj.action
Expand Down

0 comments on commit 41adf84

Please sign in to comment.