extend list filter for location
This commit is contained in:
parent
865e8bb09a
commit
6492c29e32
@ -58,4 +58,4 @@ class DeskAdmin(admin.ModelAdmin):
|
|||||||
@admin.register(Accounting)
|
@admin.register(Accounting)
|
||||||
class AccountingAdmin(admin.ModelAdmin):
|
class AccountingAdmin(admin.ModelAdmin):
|
||||||
list_display = ('desk', 'time_from', 'time_to', 'prize', 'billed', 'account_user')
|
list_display = ('desk', 'time_from', 'time_to', 'prize', 'billed', 'account_user')
|
||||||
list_filter = ('account_user', 'billed')
|
list_filter = ('desk__client__location', 'account_user', 'billed')
|
||||||
|
Loading…
Reference in New Issue
Block a user