Commit 20a31298 authored by Michal Čihař's avatar Michal Čihař

Filter invoices by billing

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent ad1ab19a
...@@ -55,7 +55,7 @@ class InvoiceAdmin(admin.ModelAdmin): ...@@ -55,7 +55,7 @@ class InvoiceAdmin(admin.ModelAdmin):
list_display = ( list_display = (
'billing', 'start', 'end', 'payment', 'currency', 'ref' 'billing', 'start', 'end', 'payment', 'currency', 'ref'
) )
list_filter = ('currency',) list_filter = ('currency', 'billing')
search_fields = ( search_fields = (
'billing__user__username', 'billing__projects__name', 'billing__user__username', 'billing__projects__name',
'ref', 'note', 'ref', 'note',
......
Markdown is supported
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