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