Commit 4c763d06 authored by Patrick's avatar Patrick
Browse files

Max TWO_LEVEL_DEPTH for Permanence Role to let regroup roles

parent 405078dd
......@@ -203,7 +203,7 @@ class PermanenceBoardInline(ForeignKeyCacheMixin, TabularInline):
class LUTPermanenceRoleAdmin(LUTAdmin):
mptt_level_limit = ONE_LEVEL_DEPTH
mptt_level_limit = TWO_LEVEL_DEPTH
inlines = [PermanenceBoardInline]
def get_fields(self, request, obj=None):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment