From 41adf844fcfbb9c9fdf0ff725104b61d69a0cb65 Mon Sep 17 00:00:00 2001 From: DonHaul Date: Tue, 27 Aug 2024 10:37:47 +0200 Subject: [PATCH] w --- backoffice/backoffice/workflows/admin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backoffice/backoffice/workflows/admin.py b/backoffice/backoffice/workflows/admin.py index a4f67e7c..bc5c3d64 100644 --- a/backoffice/backoffice/workflows/admin.py +++ b/backoffice/backoffice/workflows/admin.py @@ -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