Compare commits

..

No commits in common. "d56990b91fa4e0c5767d39afff9a527abb2232a0" and "0f7f80e9d372c5f01d5987f70f9b05c9f3a159f9" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ class OperationForm(forms.ModelForm):
and self.cleaned_data.get("club") is None
and self.cleaned_data.get("club_account") is None
and self.cleaned_data.get("company") is None
and self.cleaned_data.get("target_label") == ""
and self.cleaned_data.get("target_label") is ""
):
self.add_error(
"target_type", ValidationError(_("The target must be set."))