Correct ordering of invoices
This commit is contained in:
parent
cb42289f4c
commit
8ebb371a67
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ def credit_notes(request, form):
|
||||||
def invoices(request,form):
|
def invoices(request,form):
|
||||||
''' Shows all of the invoices in the system. '''
|
''' Shows all of the invoices in the system. '''
|
||||||
|
|
||||||
invoices = commerce.Invoice.objects.all().order_by("status")
|
invoices = commerce.Invoice.objects.all().order_by("status", "id")
|
||||||
|
|
||||||
return QuerysetReport(
|
return QuerysetReport(
|
||||||
"Invoices",
|
"Invoices",
|
||||||
|
|
Loading…
Reference in a new issue