add accounting tst

This commit is contained in:
2017-04-29 11:15:26 +02:00
parent 6492c29e32
commit 673092407b
4 changed files with 29 additions and 3 deletions

View File

@@ -57,5 +57,8 @@ class DeskAdmin(admin.ModelAdmin):
@admin.register(Accounting)
class AccountingAdmin(admin.ModelAdmin):
list_display = ('desk', 'time_from', 'time_to', 'prize', 'billed', 'account_user')
list_filter = ('desk__client__location', 'account_user', 'billed')
list_display = ('desk', 'time_from', 'time_to', 'prize', 'billed', 'account_user', 'account_tst')
list_filter = ('desk__client__location', 'account_user', 'account_tst', 'billed')
def has_add_permission(self, request):
return False