# Renaming

* renames certain classes to match their content
* splits larger files into smaller ones
This commit is contained in:
2025-12-12 14:13:24 +01:00
parent c4cd40913d
commit e49eed21da
32 changed files with 705 additions and 815 deletions

View File

@@ -237,7 +237,11 @@ class EditEcoAccountForm(NewEcoAccountForm):
class RemoveEcoAccountModalForm(RemoveModalForm):
""" Form class
Provides a form for deleting eco accounts
"""
def is_valid(self):
super_valid = super().is_valid()
has_deductions = self.instance.deductions.exists()