Skip to content
Snippets Groups Projects
Commit b27ee1c7 authored by Alexa Valentová's avatar Alexa Valentová
Browse files

fix permisions reading

parent 0d11f15b
No related branches found
No related tags found
No related merge requests found
Pipeline #17171 passed
......@@ -142,7 +142,7 @@ class ParentContractInlineMixin:
if (
obj is not None
and not request.user.has_perm("contracts.delete_when_approved")
and not obj.is_editable_without_approve_permission
and not self.get_parent_object_is_editable()
):
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment