Removed a redundant return in the _validate_code_parent_exists method of the AccountForm form.
This commit is contained in:
parent
4784100084
commit
3d4d20614c
@ -603,7 +603,6 @@ class AccountForm(forms.Form):
|
||||
code="code_unique")
|
||||
self.add_error("code", error)
|
||||
raise error
|
||||
return
|
||||
|
||||
def _validate_code_descendant_code_size(self) -> None:
|
||||
"""Validates whether the codes of the descendants will be too long.
|
||||
|
Loading…
Reference in New Issue
Block a user