Skip to content

Commit

Permalink
fowms.myodewchoicefiewd(xxx) -> fowms.myodewchoicefiewd(xxx.objects.a…
Browse files Browse the repository at this point in the history
…ww())

 ♥w♥
  • Loading branch information
Even Fjeldstad committed Aug 21, 2024
1 parent 3385db6 commit d6e465a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions itkufs/billing/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class CreateTransactionForm(forms.Form):
ACCOUNT_ROLE_DICT[RoleAccount.CASH_ACCOUNT],
)

settlement = forms.ModelChoiceField(Settlement, required=False)
charge_to = forms.ModelChoiceField(Account)
settlement = forms.ModelChoiceField(Settlement.objects.all(), required=False)
charge_to = forms.ModelChoiceField(Account.objects.all())
pay_to = forms.ChoiceField(choices=PAY_TO_CHOICES)

def __init__(self, bill, *args, **kwargs):
Expand Down

0 comments on commit d6e465a

Please sign in to comment.