There is not always an error
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
f60691846b
commit
9f0a22d3d1
2 changed files with 3 additions and 3 deletions
|
|
@ -348,7 +348,7 @@ class SpecialTransaction(Transaction):
|
|||
first_name = form.cleaned_data["first_name"]
|
||||
bank = form.cleaned_data["bank"]
|
||||
|
||||
error = True
|
||||
error = False
|
||||
|
||||
if not last_name or not first_name or (not bank and credit_type.special_type == "Chèque"):
|
||||
if not last_name:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue