1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-27 20:22:15 +02:00

add basic transactiontemplate handling

This commit is contained in:
Pierre-antoine Comby
2019-08-11 19:54:18 +02:00
parent f6464c2a14
commit edbcf9629c
5 changed files with 30 additions and 9 deletions

View File

@ -48,7 +48,7 @@ class NoteClubAdmin(PolymorphicChildModelAdmin):
# We can't change club after creation or the balance
readonly_fields = ('club', 'balance')
search_fields = ('club',)
def has_add_permission(self, request):
"""
A club note should not be manually added