Skip to content

Commit

Permalink
💚 [#994] FIX field type from forms.NullBooleanField to BooleanChoiseF…
Browse files Browse the repository at this point in the history
…ield
  • Loading branch information
stefrado committed Dec 10, 2024
1 parent b872df5 commit a0cadf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdg/producten/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class ProductForm(FieldConfigurationMixin, forms.ModelForm):
automatisch_doordrukken = BooleanChoiceField(required=False)
automatisch_doordrukken_datum = forms.DateField(required=False)

product_aanwezig = forms.NullBooleanField(
product_aanwezig = BooleanChoiceField(
required=False,
choices=[(None, _("Onbekend")), (True, _("Ja")), (False, _("Nee"))],
)
Expand Down

0 comments on commit a0cadf9

Please sign in to comment.