Correct ordering of badges
This commit is contained in:
parent
8ebb371a67
commit
be0d04c9c4
1 changed files with 2 additions and 1 deletions
|
@ -443,9 +443,10 @@ class InvoicesWithProductAndStatusForm(forms.Form):
|
||||||
)
|
)
|
||||||
|
|
||||||
qs = qs.select_related("user__attendee__attendeeprofilebase")
|
qs = qs.select_related("user__attendee__attendeeprofilebase")
|
||||||
|
qs = qs.order_by("id")
|
||||||
|
|
||||||
self.fields['invoice'].queryset = qs
|
self.fields['invoice'].queryset = qs
|
||||||
self.fields['invoice'].initial = [i.id for i in qs]
|
#self.fields['invoice'].initial = [i.id for i in qs] # UNDO THIS LATER
|
||||||
|
|
||||||
|
|
||||||
class InvoiceEmailForm(InvoicesWithProductAndStatusForm):
|
class InvoiceEmailForm(InvoicesWithProductAndStatusForm):
|
||||||
|
|
Loading…
Reference in a new issue